|
-
Jan 30th, 2001, 12:22 PM
#1
Thread Starter
Junior Member
how to create window, controls on it, make to cntrols do something (mfc and API's)?
-
Jan 30th, 2001, 01:10 PM
#2
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 30th, 2001, 06:12 PM
#3
Thread Starter
Junior Member
1. In the rawdlg i get some error
C:\Documents and Settings\Administrator\Desktop\RawDlg\rawdlg.cpp(26) : error C2664: 'CreateDialogParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,un
signed int,long)'
None of the functions with this name in scope match the target type
Error executing cl.exe.
2. I can't download raw.zip (broken link)
-
Jan 31st, 2001, 06:57 AM
#4
type in a lowercase r instead of the upper case one, that should allow you to download raw.zip.
and change INT_PTR to int, I think the newer headers that come with the platform sdk use INT_PTR for callbacks.
-
Jan 31st, 2001, 07:59 AM
#5
Monday Morning Lunatic
Sorry 'bout that...yeah. It's the PSDK headers - for compatibility with 64-bit systems all new code has to use INT_PTR, LONG_PTR and the rest because they're guaranteed to keep the same relationship to pointer sizes 
LONG_PTR == LRESULT
INT_PTR == long
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 31st, 2001, 04:43 PM
#6
Thread Starter
Junior Member
COOL Thanx!
How to make when I click button to display message box with text from edit
-
Jan 31st, 2001, 04:45 PM
#7
Thread Starter
Junior Member
COOL Thanx!
How to make when I click button to display message box with text from edit.
-
Jan 31st, 2001, 04:51 PM
#8
Monday Morning Lunatic
Okay...don't have time to make anything up so here's a mini-hint:
GetWindowText, GetWindowTextLength, GetDlgItem
These functions should be enough.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 31st, 2001, 05:28 PM
#9
Thread Starter
Junior Member
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
|