|
From: Vlada D. <dj...@im...> - 2002-09-19 13:42:26
|
Hi, metalseb Thanks for your inerest in this thing. The code is in the attachment. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of metalseb Sent: cetvrtak, 19. septembar 2002 12:59 To: Vlada Djurovic; devcpp mailing list Subject: Re: [Dev-C++] DialogBox returns -1 Hi Vlada You should check out which button was pressed pressed inside the "about" dialog box in its own message loop processing. Reading the Win32 API doc, DialogBox does not return the value of the button you pressed but the value returned by the EndDialog API call inside the message loop You also say that ret is equal to -1. It indicates that the DialogBox failed. That's why it doesn't display anything. If you want, just send me your full code, I will check and post an explanation here just after. Kind regards -- Seb ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |