Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Creating a Dialog Resource With No Controls | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
beneficii

Lakitu
Level: 36

Posts: 213/567
EXP: 299656
For next: 8454

Since: 06-27-04
From: Cordova, TN, USA

Since last post: 14 hours
Last activity: 6 hours
Posted on 06-27-05 01:09 AM Link | Quote
When I make this dialog:

IDD_TOOLBAR DIALOGEX DISCARDABLE 0, 0, 0x100, 0x100
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW
CAPTION "Tiles"
FONT 8, "MS Sans Serif"
BEGIN
END

The thing compiles fine, but when I load the EXE it says it's corrupt. When I comment out this piece, the EXE runs fine. Is it because I have no controls in it and there is another way of doing it, or is it something else? (I do not want any controls in my dialog, btw.)

Well, I had added a control, and that same problem still comes up. So I don't know....

EDIT: Never mind, I just realized that the value of IDD_TOOLBAR should not be larger than a word (i.e larger than 0xffff).


(edited by beneficii on 06-26-05 04:09 PM)
(edited by beneficii on 06-26-05 04:19 PM)
(edited by beneficii on 06-26-05 04:34 PM)
(edited by beneficii on 06-26-05 04:35 PM)
(edited by beneficii on 06-26-05 04:36 PM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Creating a Dialog Resource With No Controls | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.012 seconds.