I've added a Picture(bitmap) to my dialog. How come when the dialog loads, the picture is not there? But in the resource editor it's there.
Printable View
I've added a Picture(bitmap) to my dialog. How come when the dialog loads, the picture is not there? But in the resource editor it's there.
post up your code, ill have a look at it
bruce
There's no code for loading a pic... I just put a BITMAP onto my Dialog. Also
How do I convert HWND to CHAR?Code:HWND Rec_Wnd(void){
#define LARGE 1024
HWND RETURN;
char OLD[LARGE],NEW[LARGE];
//BEGINS:
GetConsoleTitle(OLD,LARGE);
SetDlgItemText(dlg,TEXT1,RETURN);
return(RETURN);
}
i probably should not have even looked at this thread. i know nothing about C++ dialog. while you're here, could you explain what HWND is anyway? i kind of understand its a handle for a window, but what does it do? and why convert it to char?
bruce
Plays such an majorly role in VC++, specially in Win32. I'm 13, if you feel any thing I can help, contact me at YIM or AIM, my id is in my profile. Wish you a Merry Christmas && Happy New Year.
hmmm....
Do you know a little about the syntax of .rc files? Can you post the part where your dialog is declared? If not, upload the whole .rc file, I'll look at it.