Click here to Skip to main content
15,905,004 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple Controls One Handler Pin
James R. Twine5-Mar-04 7:26
James R. Twine5-Mar-04 7:26 
Use can use ON_CONTROL_RANGE as said earlier but you must be sure that the ranges of the controls given are contigious and in order.

What is meant by "pass the appropriate ID to nID parameter" is that when the method is called, the nID parameter will be the ID of the control that just lost focus.

(Note that if you are planning to do something like validate and keep the user on a certain control if validation fails, this is a bad GUI design decision.)

Peace!

-=- James (Sonork:100.21837)
[Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"!]
[Get Delete FXP Files Now!]

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 
GeneralRe: Problem with Hooks Pin
Mike Beckerleg7-Mar-04 22:51
Mike Beckerleg7-Mar-04 22:51 
GeneralRe: Problem with Hooks Pin
bilal788-Mar-04 1:07
bilal788-Mar-04 1:07 
GeneralRe: Problem with Hooks Pin
Mike Beckerleg9-Mar-04 3:13
Mike Beckerleg9-Mar-04 3:13 
GeneralRe: Problem with Hooks Pin
bilal789-Mar-04 17:37
bilal789-Mar-04 17:37 
QuestionHow to get Users and their rights of current system? Pin
.NetRams4-Mar-04 17:53
.NetRams4-Mar-04 17:53 
GeneralGet MAC address (exclude VPN adp) Pin
gilc1374-Mar-04 15:59
gilc1374-Mar-04 15:59 
Questionhow to receive app launch message? Pin
chpsoft4-Mar-04 14:28
chpsoft4-Mar-04 14:28 
AnswerRe: how to receive app launch message? Pin
Joel Lucsy4-Mar-04 16:00
Joel Lucsy4-Mar-04 16:00 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 16:16
chpsoft4-Mar-04 16:16 
GeneralRe: how to receive app launch message? Pin
bilal784-Mar-04 19:30
bilal784-Mar-04 19:30 
GeneralRe: how to receive app launch message? Pin
chpsoft4-Mar-04 19:58
chpsoft4-Mar-04 19: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.