Click here to Skip to main content
16,014,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUSB Communication? Pin
User 665828-May-02 4:00
User 665828-May-02 4:00 
AnswerRe: USB Communication? Pin
Zizilamoroso28-May-02 4:10
Zizilamoroso28-May-02 4:10 
AnswerRe: USB Communication? Pin
Gordon Brandly28-May-02 8:16
Gordon Brandly28-May-02 8:16 
GeneralCFileDialog assertion error Pin
Zizilamoroso28-May-02 3:41
Zizilamoroso28-May-02 3:41 
GeneralRe: CFileDialog assertion error Pin
Zizilamoroso28-May-02 3:49
Zizilamoroso28-May-02 3:49 
GeneralRe: CFileDialog assertion error Pin
Nish Nishant28-May-02 3:52
sitebuilderNish Nishant28-May-02 3:52 
GeneralRe: CFileDialog assertion error Pin
Zizilamoroso28-May-02 4:01
Zizilamoroso28-May-02 4:01 
GeneralRe: CFileDialog assertion error Pin
Nish Nishant28-May-02 3:51
sitebuilderNish Nishant28-May-02 3:51 
frisco wrote:
I'm overlooking something, but what?

Your dialog is not created yet! The C++ object is created, but the actual window it wraps is not up! That's why you get the assert. Use DoModal() and then put your list populating code in the OnInitDialog() handler

Nish


Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.

GeneralRe: CFileDialog assertion error Pin
Zizilamoroso28-May-02 3:55
Zizilamoroso28-May-02 3:55 
GeneralRe: CFileDialog assertion error Pin
Nish Nishant28-May-02 4:37
sitebuilderNish Nishant28-May-02 4:37 
GeneralEnumObjects returns error in recursive function Pin
redeemer28-May-02 3:28
redeemer28-May-02 3:28 
GeneralRe: Ignore this post something's wrong with it, i'll make another. Pin
Nish Nishant28-May-02 3:48
sitebuilderNish Nishant28-May-02 3:48 
GeneralRe: Ignore this post something's wrong with it, i'll make another. Pin
Zizilamoroso28-May-02 3:52
Zizilamoroso28-May-02 3:52 
GeneralRe: Ignore this post something's wrong with it, i'll make another. Pin
Alexandru Savescu28-May-02 4:18
Alexandru Savescu28-May-02 4:18 
Generalsorry for my interrupt! Pin
tiaozi28-May-02 3:23
tiaozi28-May-02 3:23 
GeneralRe: sorry for my interrupt! Pin
rrrado28-May-02 3:38
rrrado28-May-02 3:38 
GeneralRe: sorry for my interrupt! Pin
Nish Nishant28-May-02 3:45
sitebuilderNish Nishant28-May-02 3:45 
GeneralRe: sorry for my interrupt! Pin
Jason Gerard28-May-02 13:08
Jason Gerard28-May-02 13:08 
GeneralRe: sorry for my interrupt! Pin
tiaozi28-May-02 22:24
tiaozi28-May-02 22:24 
QuestionIErrorInfo or _com_error? Pin
28-May-02 1:32
suss28-May-02 1:32 
QuestionDisplaying Mathematical notation. How ?? Pin
28-May-02 1:23
suss28-May-02 1:23 
Generalstupid string queston Pin
bryce28-May-02 1:22
bryce28-May-02 1:22 
GeneralRe: stupid string queston Pin
-Dy28-May-02 1:29
-Dy28-May-02 1:29 
GeneralRe: stupid string queston Pin
markkuk28-May-02 2:30
markkuk28-May-02 2:30 
GeneralRe: stupid string queston Pin
bryce28-May-02 18:13
bryce28-May-02 18:13 

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.