Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab order in dialogs Pin
Ryan Binns15-Dec-04 17:12
Ryan Binns15-Dec-04 17:12 
GeneralCHtmlView Pin
Ivan Cachicatari15-Dec-04 6:57
Ivan Cachicatari15-Dec-04 6:57 
GeneralWindows Xp Theme Pin
Leyu15-Dec-04 6:23
Leyu15-Dec-04 6:23 
GeneralRe: Windows Xp Theme Pin
Andy Hunter15-Dec-04 11:41
Andy Hunter15-Dec-04 11:41 
GeneralGeneral Another Main Dialog Pin
sweep12315-Dec-04 6:22
sweep12315-Dec-04 6:22 
GeneralRe: General Another Main Dialog Pin
toxcct15-Dec-04 7:56
toxcct15-Dec-04 7:56 
GeneralRe: General Another Main Dialog Pin
Grahamfff15-Dec-04 9:35
Grahamfff15-Dec-04 9:35 
GeneralRe: General Another Main Dialog Pin
Blake Miller15-Dec-04 10:21
Blake Miller15-Dec-04 10:21 
This is speculation - something to try if you get desperate Unsure | :~
I think the problem here MIGHT be that you can not get the Create to work from within the OnInitDialog of the first dialog. Sometimes Windows has limitations of what functions are permitted while others are executing. So... You can post your FIRST dialog a special message to create the secondary dialogs. When the first dialog processes the message, it will no longer be within the OnInitDialog handler, and the other dialogs might create just fine.

Otherwise, I can't see anything inherently wrong with what you are doing, given that you can create child controls within an OnInitDialog call, so it might have something specifically to do with Createing the other dialogs. Or else thee is more to the problem not revealed by your code snippets.

GeneralRe: General Another Main Dialog Pin
toxcct16-Dec-04 2:30
toxcct16-Dec-04 2:30 
GeneralHELP - how to send Byte Array from VB to C(MFC) Pin
pinhas15-Dec-04 6:11
pinhas15-Dec-04 6:11 
GeneralIncorporation of C files to C++ Pin
Keck15-Dec-04 5:32
Keck15-Dec-04 5:32 
GeneralRe: Incorporation of C files to C++ Pin
toxcct15-Dec-04 5:37
toxcct15-Dec-04 5:37 
GeneralRe: Incorporation of C files to C++ Pin
Blake Miller15-Dec-04 10:25
Blake Miller15-Dec-04 10:25 
Generaladding manage extension to exiting c++ application. Pin
pnpfriend15-Dec-04 5:27
pnpfriend15-Dec-04 5:27 
Questionhow to access mainframe from the object Pin
josephvan15-Dec-04 3:06
josephvan15-Dec-04 3:06 
AnswerRe: how to access mainframe from the object Pin
David Crow15-Dec-04 3:37
David Crow15-Dec-04 3:37 
GeneralRe: how to access mainframe from the object Pin
josephvan15-Dec-04 18:01
josephvan15-Dec-04 18:01 
General"Writing" to parallel port in XP Pin
Blubbo15-Dec-04 2:05
Blubbo15-Dec-04 2:05 
Generalminimum size of win32 application Pin
includeh1015-Dec-04 1:17
includeh1015-Dec-04 1:17 
GeneralRe: minimum size of win32 application Pin
gamitech15-Dec-04 1:21
gamitech15-Dec-04 1:21 
GeneralRe: minimum size of win32 application Pin
User 665815-Dec-04 2:04
User 665815-Dec-04 2:04 
GeneralRe: minimum size of win32 application Pin
David Crow15-Dec-04 3:39
David Crow15-Dec-04 3:39 
GeneralRe: minimum size of win32 application Pin
includeh1015-Dec-04 19:45
includeh1015-Dec-04 19:45 
GeneralDuplicate Items in Treeview Pin
@cE15-Dec-04 1:08
@cE15-Dec-04 1:08 
GeneralRe: Duplicate Items in Treeview Pin
includeh1015-Dec-04 1:20
includeh1015-Dec-04 1:20 

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.