Click here to Skip to main content
16,012,025 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWPARAM and LPARAM ? Pin
Owner drawn18-Jan-06 17:50
Owner drawn18-Jan-06 17:50 
AnswerRe: WPARAM and LPARAM ? Pin
Prakash Nadar18-Jan-06 17:57
Prakash Nadar18-Jan-06 17:57 
AnswerRe: WPARAM and LPARAM ? Pin
Christian Graus18-Jan-06 17:58
protectorChristian Graus18-Jan-06 17:58 
QuestionRe: WPARAM and LPARAM ? (What about HWND...Where should it go?) Pin
Owner drawn18-Jan-06 18:02
Owner drawn18-Jan-06 18:02 
AnswerRe: WPARAM and LPARAM ? (What about HWND...Where should it go?) Pin
Prakash Nadar18-Jan-06 18:15
Prakash Nadar18-Jan-06 18:15 
AnswerRe: WPARAM and LPARAM ? Pin
Blake Miller19-Jan-06 8:02
Blake Miller19-Jan-06 8:02 
GeneralRe: WPARAM and LPARAM ? Pin
Owner drawn19-Jan-06 16:54
Owner drawn19-Jan-06 16:54 
GeneralRe: WPARAM and LPARAM ? Pin
Blake Miller20-Jan-06 4:06
Blake Miller20-Jan-06 4:06 
I am not sure which message filters would truncate WPARAM to 16 bits. However, that is WHY it was originally called WPARAM - because it was limited to being a WORD (16-bits).

I limit WPARAM in my work to 16 bits. I use LPARAM full 32 bits.

Usually I do not try to pass pointers or much data through the messages. I pass messages as notifications only between 'subsystems' and rely upon data retrieval function calls to be made to collect the data itself. Some programmers rely upon SendMessage to pass pointers to data via the message queue between subsystems, but that ends up being more trouble to synchyronize with the sending and receiving windows' other activities and other events occuring in a multithreaded envionment. Sure I guess it works okay if the application has a signle thread, but that is not the type of code I am typically writing anyway.

QuestionProgramming an updating feature Pin
Demonware66618-Jan-06 15:55
Demonware66618-Jan-06 15:55 
AnswerRe: Programming an updating feature Pin
Blake Miller19-Jan-06 8:04
Blake Miller19-Jan-06 8:04 
GeneralRe: Programming an updating feature Pin
Demonware66619-Jan-06 18:36
Demonware66619-Jan-06 18:36 
QuestionFurther sub-classing of CEdit Pin
Lilith.C18-Jan-06 15:55
Lilith.C18-Jan-06 15:55 
AnswerRe: Further sub-classing of CEdit Pin
Owner drawn18-Jan-06 17:01
Owner drawn18-Jan-06 17:01 
QuestionC++ Compiler for Win XP Pro Pin
JGHayles18-Jan-06 15:40
JGHayles18-Jan-06 15:40 
AnswerRe: C++ Compiler for Win XP Pro Pin
<color>Aljechin 18-Jan-06 17:35
<color>Aljechin 18-Jan-06 17:35 
AnswerRe: C++ Compiler for Win XP Pro Pin
Owner drawn18-Jan-06 17:54
Owner drawn18-Jan-06 17:54 
GeneralRe: C++ Compiler for Win XP Pro Pin
Cedric Moonen18-Jan-06 21:28
Cedric Moonen18-Jan-06 21:28 
GeneralRe: C++ Compiler for Win XP Pro Pin
Owner drawn18-Jan-06 21:52
Owner drawn18-Jan-06 21:52 
AnswerRe: C++ Compiler for Win XP Pro Pin
Christian Graus18-Jan-06 17:59
protectorChristian Graus18-Jan-06 17:59 
AnswerRe: C++ Compiler for Win XP Pro Pin
toxcct18-Jan-06 21:38
toxcct18-Jan-06 21:38 
GeneralRe: C++ Compiler for Win XP Pro Pin
Cedric Moonen18-Jan-06 21:42
Cedric Moonen18-Jan-06 21:42 
QuestionHow to generate a VC studio IDE like framework? Pin
LeeeNN18-Jan-06 15:00
LeeeNN18-Jan-06 15:00 
AnswerRe: How to generate a VC studio IDE like framework? Pin
Owner drawn18-Jan-06 19:58
Owner drawn18-Jan-06 19:58 
AnswerRe: How to generate a VC studio IDE like framework? Pin
vikas amin18-Jan-06 20:29
vikas amin18-Jan-06 20:29 
QuestionThread in MDI with WaitForSingleObject Pin
dipuks18-Jan-06 14:19
dipuks18-Jan-06 14:19 

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.