1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#include "resource.h"
DLG_MAIN DIALOGEX 6, 5, 300, 150
//CAPTION "Hide"
FONT 8, "Tahoma"
STYLE 0x10CE0804
//EXSTYLE WS_EX_TOOLWINDOW // Makes Box Square
BEGIN
CTEXT "Hide the 'Test' Box", StatText, 110, 80, 96, 15
CTEXT "You'll notice you can click the 'Test' Button as many times as you want but when you click the \n button labeled 'Hide 'Test' Button' it will make the Test button dissappear and the box will turn grey.", StatText2, 0, 0, 300, 25
CONTROL "Hide 'Test' Button", Hide, "Button", 0x10010000, 110, 125, 96, 15
CONTROL "Test", Button, "Button", 0x10010000, 110, 105, 96, 15
BITMAP "face.bmp", bmap, 110, 105, 96, 15
END
| |