|
-
Dec 25th, 2001, 12:30 AM
#1
Thread Starter
Fanatic Member
Load A PIC
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.

prog_tom
JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
http://physics.sviesoft.com/forum
-
Dec 25th, 2001, 12:59 AM
#2
Junior Member
post up your code, ill have a look at it
bruce
-
Dec 25th, 2001, 01:06 AM
#3
Thread Starter
Fanatic Member
No code
There's no code for loading a pic... I just put a BITMAP onto my Dialog. Also
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);
}
How do I convert HWND to CHAR?

prog_tom
JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
http://physics.sviesoft.com/forum
-
Dec 25th, 2001, 01:13 AM
#4
Junior Member
im way out of my league here
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
-
Dec 25th, 2001, 01:17 AM
#5
Thread Starter
Fanatic Member
Major
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.

prog_tom
JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
http://physics.sviesoft.com/forum
-
Dec 25th, 2001, 03:24 PM
#6
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|