Click here to Skip to main content
15,918,041 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralList box scroll to bottom Pin
Shay Harel4-Dec-02 10:15
Shay Harel4-Dec-02 10:15 
GeneralRe: List box scroll to bottom Pin
Roger Stewart4-Dec-02 10:56
professionalRoger Stewart4-Dec-02 10:56 
GeneralRe: List box scroll to bottom Pin
Shay Harel4-Dec-02 11:03
Shay Harel4-Dec-02 11:03 
GeneralRe: List box scroll to bottom Pin
Alvaro Mendez4-Dec-02 11:55
Alvaro Mendez4-Dec-02 11:55 
GeneralRe: List box scroll to bottom Pin
Roger Stewart4-Dec-02 13:36
professionalRoger Stewart4-Dec-02 13:36 
GeneralRe: List box scroll to bottom Pin
georgiek504-Dec-02 15:17
georgiek504-Dec-02 15:17 
GeneralKeyboard response in a dialog, not the main window--thanks a lot Pin
Sean_Yang4-Dec-02 9:59
Sean_Yang4-Dec-02 9:59 
GeneralRe: Keyboard response in a dialog, not the main window--thanks a lot Pin
RicoH5-Dec-02 1:35
RicoH5-Dec-02 1:35 
I think the problems lies in this part of your code...

hwnddlg = CreateDialog(app_instance, "PARAMETER_WINDOW_DATA", NULL, (DLGPROC) Parameter_Window_Exper);

If you specify 'NULL' as owner of this window, the Desktop will be the parent. However, since this dialogbox doesn't have it's own messageque it won't receive anything.

So, if you do it like this, it should work just fine.

hwnddlg = CreateDialog(app_instance, "PARAMETER_WINDOW_DATA", hwnd, (DLGPROC) Parameter_Window_Exper);
Where 'hwnd' is the handle from your main window (in MainWndProc)

Don't think you are, know you are...
GeneralRe: Keyboard response in a dialog, not the main window--thanks a lot Pin
Sean_Yang5-Dec-02 7:03
Sean_Yang5-Dec-02 7:03 
GeneralRe: Keyboard response in a dialog, not the main window--thanks a lot Pin
RicoH5-Dec-02 7:37
RicoH5-Dec-02 7:37 
GeneralRe: Keyboard response in a dialog, not the main window--thanks a lot Pin
Sean_Yang5-Dec-02 8:33
Sean_Yang5-Dec-02 8:33 
GeneralHELP! silly memory release problem( forJames.R.Twine) Pin
smartptr4-Dec-02 9:46
smartptr4-Dec-02 9:46 
GeneralRe: HELP! silly memory release problem( forJames.R.Twine) Pin
Christian Graus4-Dec-02 9:52
protectorChristian Graus4-Dec-02 9:52 
GeneralRe: HELP! silly memory release problem( forJames.R.Twine) Pin
smartptr4-Dec-02 9:56
smartptr4-Dec-02 9:56 
GeneralRe: HELP! silly memory release problem( forJames.R.Twine) Pin
Christian Graus4-Dec-02 10:33
protectorChristian Graus4-Dec-02 10:33 
GeneralRe: HELP! silly memory release problem( forJames.R.Twine) Pin
Navin4-Dec-02 10:37
Navin4-Dec-02 10:37 
GeneralFailed Serialize function Pin
act_x4-Dec-02 9:37
act_x4-Dec-02 9:37 
GeneralProblem with Dumping Object (new of MFC) and FreeLibrary Pin
leander4-Dec-02 8:33
leander4-Dec-02 8:33 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
Nick Parker4-Dec-02 8:56
protectorNick Parker4-Dec-02 8:56 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
Ranjan Banerji4-Dec-02 9:26
Ranjan Banerji4-Dec-02 9:26 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
leander4-Dec-02 21:58
leander4-Dec-02 21:58 
GeneralRe: Problem with Dumping Object (new of MFC) and FreeLibrary Pin
Alvaro Mendez4-Dec-02 9:34
Alvaro Mendez4-Dec-02 9:34 
Generaldrag on hDC Pin
Nicolas Siatras4-Dec-02 7:28
Nicolas Siatras4-Dec-02 7:28 
GeneralDrawing on a device independent bitmap Pin
David F Zimny4-Dec-02 6:50
David F Zimny4-Dec-02 6:50 
GeneralRe: Drawing on a device independent bitmap Pin
Christian Graus4-Dec-02 9:55
protectorChristian Graus4-Dec-02 9:55 

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.