Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHINSTANCE inst = AfxGetInstanceHandle(); Pin
akirachen4-Mar-04 21:22
akirachen4-Mar-04 21:22 
GeneralRe: HINSTANCE inst = AfxGetInstanceHandle(); Pin
Iain Clarke, Warrior Programmer5-Mar-04 3:28
Iain Clarke, Warrior Programmer5-Mar-04 3:28 
QuestionHow to change the account type of current logged on user thru my application? Pin
.NetRams4-Mar-04 20:35
.NetRams4-Mar-04 20:35 
AnswerRe: How to change the account type of current logged on user thru my application? Pin
Mazdak4-Mar-04 21:09
Mazdak4-Mar-04 21:09 
GeneralRe: How to change the account type of current logged on user thru my application? Pin
.NetRams5-Mar-04 1:12
.NetRams5-Mar-04 1:12 
GeneralRe: How to change the account type of current logged on user thru my application? Pin
Steve S7-Mar-04 22:42
Steve S7-Mar-04 22:42 
GeneralMultiple Controls One Handler Pin
monrobot134-Mar-04 20:28
monrobot134-Mar-04 20:28 
GeneralRe: Multiple Controls One Handler Pin
Michael Dunn4-Mar-04 20:54
sitebuilderMichael Dunn4-Mar-04 20:54 
Yeah, you can have one handler handle as many messages as you like. To get the HWND of the caller, you'll need to look at the LPARAM of the message, which for WM_COMMAND is the HWND of the control that sent the message: GetCurrentMessage()->lParam

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
Pinky, are you pondering what I'm pondering?
I think so Brain, but if we shaved our heads, we'd look like weasels!

GeneralRe: Multiple Controls One Handler Pin
monrobot135-Mar-04 6:04
monrobot135-Mar-04 6:04 
GeneralRe: Multiple Controls One Handler Pin
Robert A. T. Káldy4-Mar-04 22:30
Robert A. T. Káldy4-Mar-04 22:30 
GeneralRe: Multiple Controls One Handler Pin
monrobot135-Mar-04 6:06
monrobot135-Mar-04 6:06 
GeneralRe: Multiple Controls One Handler Pin
James R. Twine5-Mar-04 7:26
James R. Twine5-Mar-04 7:26 
GeneralRe: Multiple Controls One Handler Pin
monrobot135-Mar-04 10:51
monrobot135-Mar-04 10:51 
GeneralAdoConnection.Execute Pin
ananymous4-Mar-04 20:27
ananymous4-Mar-04 20:27 
GeneralRe: AdoConnection.Execute Pin
monrobot134-Mar-04 20:33
monrobot134-Mar-04 20:33 
GeneralRe: AdoConnection.Execute Pin
Prakash Nadar4-Mar-04 20:34
Prakash Nadar4-Mar-04 20:34 
GeneralRe: AdoConnection.Execute Pin
Mike Beckerleg5-Mar-04 1:01
Mike Beckerleg5-Mar-04 1:01 
GeneralServices - Advanced - Pin
JensB4-Mar-04 20:12
JensB4-Mar-04 20:12 
GeneralRe: Services - Advanced - Pin
Prakash Nadar4-Mar-04 20:17
Prakash Nadar4-Mar-04 20:17 
GeneralRe: Services - Advanced - Pin
JensB4-Mar-04 20:23
JensB4-Mar-04 20:23 
GeneralRe: Services - Advanced - Pin
JensB4-Mar-04 20:45
JensB4-Mar-04 20:45 
GeneralRe: Services - Advanced - Pin
Prakash Nadar4-Mar-04 21:26
Prakash Nadar4-Mar-04 21:26 
GeneralProblem with Hooks Pin
bilal784-Mar-04 19:17
bilal784-Mar-04 19:17 
GeneralRe: Problem with Hooks Pin
Mike Beckerleg5-Mar-04 1:11
Mike Beckerleg5-Mar-04 1:11 
GeneralRe: Problem with Hooks Pin
bilal787-Mar-04 17:58
bilal787-Mar-04 17:58 

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.