![]() |
| | #16 |
| erstwhile Join Date: Jan 2002
Posts: 2,223
|
__________________ CProgramming FAQ Caution: this person may be a carrier of the misinformation virus. |
| Ken Fitlike is offline | |
| | #17 | |
| Yah. Join Date: Feb 2005
Posts: 109
| It works now! Yah! I had a & character in the project name and it was screwing it up. I would never have realized that was the problem if you hadn't said Dev-C++ didn't like spaces. There were some other minor things that needed to be cleared up, such as my resource not liking me using my header with a bunch of definitions in it to define things so I had to make a new header file but no problems there. There are two questions i have: 1. Though I can get it to work by commenting this out, by resource script says I have a problem with the line defining Style: Code: #include "definitions.hpp"
IDD_DLGJOIN DIALOG 260, 200, 188, 95
STYLE DS_MODALFRAME | WS_CAPTION | WS_VISIBLE
CAPTION "Join a Game"
FONT 8, "Courier New"
BEGIN
DEFPUSHBUTTON "OK", ID_DLGOK, 130, 10, 50, 14
END
Error message: Quote:
__________________ Sic vis pacum para bellum. If you want peace, prepare for war. | |
| Morgul is offline | |
| | #18 |
| Registered User Join Date: Mar 2003
Posts: 3,900
| 1) Try "#include<windows.h>" if it's not already 2) >> Is this done through DialogBoxIndirect, when you create a template... No. Here's a thread with a few buzz words for searching with. Custom UI I'm sure other's have links to tutorials and such. gg |
| Codeplug is offline | |
| | #19 |
| Yah. Join Date: Feb 2005
Posts: 109
| Alright thanks everyone for your help.
__________________ Sic vis pacum para bellum. If you want peace, prepare for war. |
| Morgul is offline | |
| | #20 |
| Yah. Join Date: Feb 2005
Posts: 109
| What is wrong with this: Code: PUSHBUTTON 16, 208, 48, 16, "Cancel", CANCEL Code: EDITTEXT 16, 16, 240, 160, mstrservermsg, READONLY | MULITLINE
__________________ Sic vis pacum para bellum. If you want peace, prepare for war. Last edited by Morgul; 05-30-2005 at 01:22 PM. |
| Morgul is offline | |
| | #21 |
| erstwhile Join Date: Jan 2002
Posts: 2,223
| The syntax is wrong; check out msdn: resource definition statements.
__________________ CProgramming FAQ Caution: this person may be a carrier of the misinformation virus. |
| Ken Fitlike is offline | |
| | #22 |
| Yah. Join Date: Feb 2005
Posts: 109
| Thanks a lot, the site I was using was not up to date, I was having trouble finding a page that was current. Thanks for everything everyone , I promise that was the last question.
__________________ Sic vis pacum para bellum. If you want peace, prepare for war. |
| Morgul is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display text in a Dialog Box | Dark_Phoenix | Windows Programming | 9 | 01-02-2009 06:30 AM |
| Dialog Box (Compile Problem) | Vicious | Windows Programming | 6 | 08-31-2004 03:29 PM |
| problem with the open dialog box | stallion | Windows Programming | 13 | 02-19-2003 08:28 AM |
| Context Menu & Dialog Box :: MFC | kuphryn | Windows Programming | 4 | 08-11-2002 10:01 AM |
| Tab Controls - API | -KEN- | Windows Programming | 7 | 06-02-2002 09:44 AM |