|
From: Vlada D. <dj...@im...> - 2002-09-23 07:18:16
|
OK. Thanks for your help. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of metalseb Sent: petak, 20. septembar 2002 15:55 To: devcpp mailing list Subject: RE: [Dev-C++] DialogBox returns -1 Hi Djura >I just tried your advice and it works. Glad to see it's ok now. >I just don't understand >why I had to replace IDC_STATIC with -1? Well, that's because from Windres' view, IDC_STATIC is unknown and is considered as a label which must be defined in the include file corresponding with the resource one. Like this : #define IDC_STATIC 2000 or everything else. But when I design a GUI, each time I know a static element won't be used by the program, I set its ID to -1. >anybody know if there is some kind of manual on DevC++ or Win32 >API(except MSDN)? Well, there is an online manual for DevC++ on bloodhed's site I think. Regarding Win32 API, I suggest you to buy the MS SDK CDROM online on MSDN. It costs USD 17 for anybody which lives in Europe and it is a *must buy* for anybody who wants to develop anything on Win platforms. This CD is worth hundreds of Euros in programming books, if you can find any nowadays on plain Win32 API programming, so sad.... But if you need a good start, just check out Forger's tutorial (Grab the URL using Google, haven't got it on this computer now) and find the basic "win32.hlp" file anywhere else. 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 |