Click here to Skip to main content
16,011,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help! about PreTranslateMessage Pin
Simon.W9-Nov-02 0:23
Simon.W9-Nov-02 0:23 
GeneralSELECT ... FOR XML AUTO Pin
Alexandru Savescu6-Nov-02 23:37
Alexandru Savescu6-Nov-02 23:37 
GeneralCListCtrl problem! Pin
Daniel Strigl6-Nov-02 23:03
Daniel Strigl6-Nov-02 23:03 
GeneralRe: CListCtrl problem! Pin
KarstenK7-Nov-02 0:11
mveKarstenK7-Nov-02 0:11 
GeneralRe: CListCtrl problem! Pin
Tim Ranker7-Nov-02 3:50
Tim Ranker7-Nov-02 3:50 
GeneralRe: CListCtrl problem! Pin
Daniel Strigl7-Nov-02 3:58
Daniel Strigl7-Nov-02 3:58 
GeneralMore than one window Pin
mzakarni6-Nov-02 22:47
mzakarni6-Nov-02 22:47 
GeneralRe: More than one window Pin
Christian Graus6-Nov-02 22:53
protectorChristian Graus6-Nov-02 22:53 
Modeless dialogs should do the trick. Store your dialog as a member variable, and then call ( from memory ) Create instead od DoModal, and ShowWindow. I use pointers, and do this in the dialogs constructor

if (Create(IDD, pParent)) ShowWindow(SW_SHOW);

That's from memory, but it's something like that.

Of course if you use pointers, make sure to set them to NULL when you delete them, and call DestroyWindow on them first. Or just call ShowWindow(SW_HIDE); to hide them. I use ::IsWindowVisible((m_pDialog); to see if a window exists and is visible.


Christian

No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002

Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002

During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
GeneralRe: More than one window Pin
KarstenK7-Nov-02 0:17
mveKarstenK7-Nov-02 0:17 
GeneralRe: More than one window Pin
mzakarni7-Nov-02 1:08
mzakarni7-Nov-02 1:08 
Generalchange dll !!!!! Pin
maxyi6-Nov-02 22:35
maxyi6-Nov-02 22:35 
GeneralRe: change dll !!!!! Pin
Christian Graus6-Nov-02 22:40
protectorChristian Graus6-Nov-02 22:40 
GeneralRe: change dll !!!!! Pin
maxyi7-Nov-02 1:45
maxyi7-Nov-02 1:45 
GeneralRe: change dll !!!!! Pin
Jon Hulatt6-Nov-02 23:28
Jon Hulatt6-Nov-02 23:28 
GeneralRe: change dll !!!!! Pin
maxyi7-Nov-02 1:48
maxyi7-Nov-02 1:48 
GeneralMessage cross threads Pin
stevenson6-Nov-02 22:19
stevenson6-Nov-02 22:19 
GeneralRe: Message cross threads Pin
stevenson6-Nov-02 22:22
stevenson6-Nov-02 22:22 
GeneralRe: Message cross threads Pin
Daniel Lohmann7-Nov-02 1:39
Daniel Lohmann7-Nov-02 1:39 
GeneralRe: Message cross threads Pin
Daniel Lohmann6-Nov-02 22:45
Daniel Lohmann6-Nov-02 22:45 
GeneralRe: Message cross threads Pin
includeh107-Nov-02 0:15
includeh107-Nov-02 0:15 
GeneralRe: Message cross threads Pin
Daniel Lohmann7-Nov-02 1:37
Daniel Lohmann7-Nov-02 1:37 
GeneralRe: Message cross threads Pin
includeh107-Nov-02 2:47
includeh107-Nov-02 2:47 
GeneralRe: Message cross threads Pin
stevenson7-Nov-02 13:55
stevenson7-Nov-02 13:55 
GeneralRe: Message cross threads Pin
Kelly Herald7-Nov-02 12:02
Kelly Herald7-Nov-02 12:02 
QuestionHow to: GDI Flicker Free ?? Pin
cleathley6-Nov-02 22:14
cleathley6-Nov-02 22: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.