Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with drop down box Pin
Tom Wright23-Jun-03 11:54
Tom Wright23-Jun-03 11:54 
GeneralRe: Problems with drop down box Pin
basementman23-Jun-03 16:26
basementman23-Jun-03 16:26 
GeneralRe: Problems with drop down box Pin
Dave Bryant23-Jun-03 16:31
Dave Bryant23-Jun-03 16:31 
GeneralMAPI Pin
act_x23-Jun-03 10:07
act_x23-Jun-03 10:07 
GeneralRe: MAPI Pin
David Crow23-Jun-03 10:24
David Crow23-Jun-03 10:24 
GeneralMFC & ATL + Netware problem Pin
Brian Shifrin23-Jun-03 9:56
Brian Shifrin23-Jun-03 9:56 
GeneralDo you know HLP95EN.DLL Pin
algruber23-Jun-03 9:51
algruber23-Jun-03 9:51 
GeneralModeless MFC dialog problem in Winamp plugin dll Pin
Member 34159623-Jun-03 9:23
Member 34159623-Jun-03 9:23 
I'm developping a Winamp visual plugin. I use MFC.

I have a CWinApp derived class (instance is myApp), that has for members init, config, render and quit that are mapped to exported c functions (that Winamp retrieves).

I create a dialog box, instance of a CDialog derived class. I call Create to launch it modelessly. When I close it by the x close button (IDCANCEL) it closes. I can stop the plugin. When i stop Winamp it crashes. When I call DestroyWindow from myApp it crashes.

I tried several solutions : with or without delete in PostNcDestroy, with or without delete from myApp, in a CWinThread derived class, with DestroyWindow in OnCancel or not, and other parameters. There are always problems, depending of those parameters. Most of the time Winamp crashes when the dialog is closed, sometimes some way of closing it works.

Can someone explain how to implement such a CDialog derived class, and how to use it in a modeless way (with a pointer, new, delete and functions such as CreateMyDialog, ShowMyDialog, HideMyDialog, DestroyMyDialog) ?
GeneralModifying WM_COMMAND to another app Pin
Fahr23-Jun-03 8:08
Fahr23-Jun-03 8:08 
GeneralFocus notification Pin
Atlence23-Jun-03 8:06
Atlence23-Jun-03 8:06 
GeneralRe: Focus notification Pin
Neville Franks23-Jun-03 11:35
Neville Franks23-Jun-03 11:35 
GeneralRe: Focus notification Pin
Atlence23-Jun-03 21:07
Atlence23-Jun-03 21:07 
GeneralRe: Focus notification Pin
Neville Franks23-Jun-03 23:26
Neville Franks23-Jun-03 23:26 
GeneralRe: Focus notification Pin
Atlence24-Jun-03 0:45
Atlence24-Jun-03 0:45 
GeneralRe: Focus notification Pin
Neville Franks24-Jun-03 12:07
Neville Franks24-Jun-03 12:07 
GeneralRe: Focus notification Pin
Atlence26-Jun-03 3:55
Atlence26-Jun-03 3:55 
GeneralRe: Focus notification Pin
Neville Franks26-Jun-03 21:32
Neville Franks26-Jun-03 21:32 
QuestionCFileDialog change directory? Pin
electronicman_x23-Jun-03 7:26
electronicman_x23-Jun-03 7:26 
AnswerRe: CFileDialog change directory? Pin
basementman23-Jun-03 7:39
basementman23-Jun-03 7:39 
GeneralRe: CFileDialog change directory? Pin
electronicman_x23-Jun-03 7:52
electronicman_x23-Jun-03 7:52 
GeneralAOL Messenger Pin
Saquib Razak23-Jun-03 6:50
Saquib Razak23-Jun-03 6:50 
GeneralRe: AOL Messenger Pin
Atlence23-Jun-03 8:14
Atlence23-Jun-03 8:14 
GeneralRe: AOL Messenger Pin
Saquib Razak23-Jun-03 10:10
Saquib Razak23-Jun-03 10:10 
GeneralRe: AOL Messenger Pin
Ryan Binns23-Jun-03 14:06
Ryan Binns23-Jun-03 14:06 
GeneralRe: AOL Messenger Pin
Saquib Razak24-Jun-03 4:10
Saquib Razak24-Jun-03 4:10 

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.