Click here to Skip to main content
15,917,060 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where's iostream? Pin
Michael Dunn17-Jan-05 14:43
sitebuilderMichael Dunn17-Jan-05 14:43 
AnswerRe: Where's iostream? Pin
thompsons17-Jan-05 18:01
thompsons17-Jan-05 18:01 
GeneralRe: Where's iostream? Pin
Aamir Butt17-Jan-05 18:48
Aamir Butt17-Jan-05 18:48 
GeneralUsing filename from VC6 DirectX sample to C project Pin
rocman17-Jan-05 6:57
rocman17-Jan-05 6:57 
Generalcorrectly play WM_MOUSEWHEEL Pin
Member 166110217-Jan-05 6:35
Member 166110217-Jan-05 6:35 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
greba17-Jan-05 7:29
greba17-Jan-05 7:29 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
Member 166110217-Jan-05 9:29
Member 166110217-Jan-05 9:29 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
greba17-Jan-05 9:56
greba17-Jan-05 9:56 
Petr P. wrote:
UINT paramL; // place for x-coordinate
UINT paramH; // place for y-coordinate


I don't know if what you stated above is correct. Under my system I follow this logic:
WPARAM is defined as UINT_PTR which in turn is defined as unsigned int
LPARAM is defined as LONG_PTR which in turn is defined as long
UINT is defined as unsigned int

And also under my system sizeof(long) == sizeof(unsigned int). This means that you have enough space in the EVENTMSG structure being passed in to store everything. I doubt there would be any conversion nessisary.

I think all you would have to do is store your WPARAM and LPARAM in paramL and paramH.

Greba,

My lack of content on my home page should be entertaining.
GeneralRe: correctly play WM_MOUSEWHEEL Pin
Member 166110218-Jan-05 0:05
Member 166110218-Jan-05 0:05 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
Member 166110225-Jan-05 4:44
Member 166110225-Jan-05 4:44 
QuestionDesktopbackround handle? Pin
Nico Grüner17-Jan-05 6:21
sussNico Grüner17-Jan-05 6:21 
AnswerRe: Desktopbackround handle? Pin
Martin Koorts17-Jan-05 6:34
Martin Koorts17-Jan-05 6:34 
GeneralRe: Desktopbackround handle? Pin
Nico Grüner17-Jan-05 19:19
sussNico Grüner17-Jan-05 19:19 
GeneralRe: Desktopbackround handle? Pin
Martin Koorts17-Jan-05 23:07
Martin Koorts17-Jan-05 23:07 
GeneralATL service crashes when being stopped by system Pin
Cruelty17-Jan-05 5:42
Cruelty17-Jan-05 5:42 
GeneralPrinting Output Pin
BRIMID17-Jan-05 5:29
BRIMID17-Jan-05 5:29 
GeneralRe: Printing Output Pin
Martin Koorts17-Jan-05 5:40
Martin Koorts17-Jan-05 5:40 
GeneralRe: Printing Output Pin
BRIMID17-Jan-05 6:02
BRIMID17-Jan-05 6:02 
GeneralRe: Printing Output Pin
David Crow17-Jan-05 6:34
David Crow17-Jan-05 6:34 
GeneralDigital Camera API Pin
Franz Klein17-Jan-05 5:01
Franz Klein17-Jan-05 5:01 
GeneralRe: Digital Camera API Pin
Mike Dimmick17-Jan-05 6:35
Mike Dimmick17-Jan-05 6:35 
GeneralBreak point Pin
Surya Prakash Adari17-Jan-05 4:11
Surya Prakash Adari17-Jan-05 4:11 
GeneralRe: Break point Pin
Antony M Kancidrowski17-Jan-05 6:40
Antony M Kancidrowski17-Jan-05 6:40 
GeneralVisual C++ 2003 and Profiler Pin
Defenestration17-Jan-05 4:07
Defenestration17-Jan-05 4:07 
GeneralRe: Visual C++ 2003 and Profiler Pin
Mike Dimmick17-Jan-05 6:39
Mike Dimmick17-Jan-05 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.