|
From: Vlada D. <dj...@im...> - 2002-09-20 10:20:17
|
Hi,metalseb I just tried your advice and it works. Thanks! I just don't understand why I had to replace IDC_STATIC with -1? And another question: does anybody know if there is some kind of manual on DevC++ or Win32 API(except MSDN)? Regards, Djura -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of metalseb Sent: cetvrtak, 19. septembar 2002 19:02 To: Vlada Djurovic; devcpp mailing list Subject: RE: [Dev-C++] DialogBox returns -1 Good evening Djura Hummm, just tried your code and it works without any problem here... Did you try to compile by a "make clean" (CTRL-F11) to get sure that all files, including resources were parsed and compiled together ? Just replaced the IDC_STATIC flag by -1 of the groupbox and the ctext because Windres showed me a parse error with this in my 4.9.4.1 package. Forget what I said regarding the return value of DialogBox. In the chunk of code you showed this afternoon, there was no way of knowing you were sending the ID of the pressed button as return var from the EndDialog call.... Sorry for any misunderstanding ! If you have any further questions, feel free to email me 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 |