Click to See Complete Forum and Search --> : Windows
DiEDa
Jan 30th, 2001, 11:22 AM
how to create window, controls on it, make to cntrols do something (mfc and API's)?
parksie
Jan 30th, 2001, 12:10 PM
http://www.parksie.net/Raw.zip
http://www.parksie.net/RawDlg.zip
Also look at the platform SDK at http://msdn.microsoft.com/library
www.cprogramming.com
www.winprog.org
And there's a load of other threads on this around as well.
DiEDa
Jan 30th, 2001, 05:12 PM
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)
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.
parksie
Jan 31st, 2001, 06:59 AM
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
DiEDa
Jan 31st, 2001, 03:43 PM
COOL Thanx!
How to make when I click button to display message box with text from edit
DiEDa
Jan 31st, 2001, 03:45 PM
COOL Thanx!
How to make when I click button to display message box with text from edit.
parksie
Jan 31st, 2001, 03:51 PM
Okay...don't have time to make anything up so here's a mini-hint:
GetWindowText, GetWindowTextLength, GetDlgItem
These functions should be enough.
DiEDa
Jan 31st, 2001, 04:28 PM
:( Can you make any example PLS :(
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.