![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2006
Posts: 22
Rep Power: 0
![]() |
Win32 GUI CreateWindowEx()
I'm currently working through a tutorial on Win32 GUI, and im stuck. Im attempting to create a window which has a menu with "File" and "Help" popups with the "About > Help" menu opening a dialog box.
To start with i had some problems with syntax errors in my resource file which were strangely fixed when i added some missing braces to the Dialog Box Procedure Function, after that was sorted im now getting my message box telling me that my window creation failed. Ive checked the parameters of the CreateWindowEx() function on MSDN and the tutorial im using and i think theyre right, ive also checked that ive passed the right class name. Because im new to this im already out of ideas and need help. All 3 files are attached .txt (resource file, .rc isnt a valid extension here), .h, and .cpp, because im not sure where the problem is. im not gonna use code tags cause i just think 120 or so lines in the .cpp file is too much. Any help is appreciated. |
|
|
|
|
|
#2 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4
![]() |
Re: Win32 GUI CreateWindowEx()
>>im not gonna use code tags cause i just think 120 or so lines in the .cpp file is too much.
Hallelujah ![]() |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Jan 2006
Posts: 22
Rep Power: 0
![]() |
Re: Win32 GUI CreateWindowEx()
hahaha, i fixed it... turns out it was a brace which was just in the wrong place. Sorry for wasting your time, thankyou to anyone who took the time to look.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| question regarding GUI factory. | rwm | C++ | 3 | Aug 17th, 2007 8:58 AM |
| Which is easier for making a GUI program? | 357mag | Java | 6 | Jul 29th, 2007 5:08 PM |
| win32 help files, where to get? | hervens48 | C++ | 5 | May 25th, 2006 3:07 AM |
| Win32; wrapping it up | jayme | C++ | 4 | Mar 21st, 2006 3:03 PM |
| Question about Win32 Programming | brokenhope | C++ | 15 | May 3rd, 2005 7:55 PM |