Click here to Skip to main content
15,893,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Saving File Formats Pin
Phil J Pearson2-Oct-02 7:21
Phil J Pearson2-Oct-02 7:21 
GeneralRe: Saving File Formats Pin
Rickard Andersson202-Oct-02 8:28
Rickard Andersson202-Oct-02 8:28 
GeneralRe: Saving File Formats Pin
Scott H. Settlemier2-Oct-02 9:57
Scott H. Settlemier2-Oct-02 9:57 
GeneralRe: Saving File Formats Pin
SanShou2-Oct-02 10:11
SanShou2-Oct-02 10:11 
GeneralRe: Saving File Formats Pin
Patje2-Oct-02 21:27
Patje2-Oct-02 21:27 
GeneralSet index in CListCtrl Pin
Telefonen2-Oct-02 5:54
Telefonen2-Oct-02 5:54 
GeneralRe: Set index in CListCtrl Pin
Chris Richardson2-Oct-02 9:55
Chris Richardson2-Oct-02 9:55 
GeneralChanging dialog properties programatically Pin
adamUK2-Oct-02 5:53
adamUK2-Oct-02 5:53 
Hello again,

I have a bunch of dialogs that I use as modals but I want to now bunch them together as child windows in one big dialog. In the process of doing this (without even getting to the make my dialog a child window yet), I am trying to alter the properties of my dialog at run-time. My problem is that when I change the properties by ModifyStyle() and ModifyStyleEx() it behaves (when I click the mouse etc..) as though the properties have changed but it still has the border and title etc. What am I doing wrong?

heres a snippet of the code thats causing the prob. I have tried all sorts of permutations and combinations of ModifyStyle(). It works if I change all the properties in the resource editor..

m_pProjInfoDlg = new CProjInfoDlg(this,m_pDoc);<br />
m_pProjInfoDlg->Create(IDD_PROJINFO,this);<br />
m_pProjInfoDlg->ModifyStyle(WS_POPUP|WS_CAPTION|WS_BORDER|WS_DLGFRAME|WS_THICKFRAME|WS_BORDER,0,SWP_NOACTIVATE);<br />
m_pProjInfoDlg->ShowWindow(SW_SHOW);


help!! Steadily going bananas.

thanks! Smile | :)

Adam.

www.beachwizard.com/travelogue[^]

"I spent a lot of my money on booze, birds and fast cars. The rest I just squandered"
George Best.
QuestionHow do I convert a double to char Pin
Jose Cruz2-Oct-02 5:20
Jose Cruz2-Oct-02 5:20 
AnswerRe: How do I convert a double to char Pin
Jon Hulatt2-Oct-02 5:23
Jon Hulatt2-Oct-02 5:23 
AnswerRe: How do I convert a double to char Pin
jhwurmbach2-Oct-02 5:50
jhwurmbach2-Oct-02 5:50 
Generalquestion about safearray Pin
Gérald Mercet2-Oct-02 4:59
Gérald Mercet2-Oct-02 4:59 
GeneralDoWaitCursor(true) not staying up Pin
2-Oct-02 4:40
suss2-Oct-02 4:40 
GeneralRe: DoWaitCursor(true) not staying up Pin
Paul M Watt2-Oct-02 5:00
mentorPaul M Watt2-Oct-02 5:00 
GeneralA simple array question Pin
ns2-Oct-02 4:29
ns2-Oct-02 4:29 
GeneralRe: A simple array question Pin
RedZenBird2-Oct-02 4:31
RedZenBird2-Oct-02 4:31 
GeneralRe: A simple array question Pin
ns2-Oct-02 4:47
ns2-Oct-02 4:47 
GeneralRe: A simple array question Pin
jmkhael2-Oct-02 4:51
jmkhael2-Oct-02 4:51 
GeneralRe: A simple array question Pin
ns2-Oct-02 5:24
ns2-Oct-02 5:24 
GeneralRe: A simple array question Pin
Joe Herbert2-Oct-02 5:43
Joe Herbert2-Oct-02 5:43 
GeneralRe: A simple array question Pin
ns2-Oct-02 5:50
ns2-Oct-02 5:50 
GeneralRe: A simple array question Pin
jmkhael2-Oct-02 6:07
jmkhael2-Oct-02 6:07 
GeneralHelp with fstream Pin
Sunnygirl2-Oct-02 4:23
Sunnygirl2-Oct-02 4:23 
GeneralRe: Help with fstream Pin
RedZenBird2-Oct-02 4:29
RedZenBird2-Oct-02 4:29 
GeneralGetKeyState() question Pin
dazinith2-Oct-02 4:14
dazinith2-Oct-02 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.