Click here to Skip to main content
15,909,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: FingerPrint Pin
PaulNeyman5-Dec-05 0:06
PaulNeyman5-Dec-05 0:06 
GeneralRe: FingerPrint Pin
Priyank Bolia5-Dec-05 0:23
Priyank Bolia5-Dec-05 0:23 
Questioncustom control Pin
xiantia4-Dec-05 3:21
xiantia4-Dec-05 3:21 
AnswerRe: custom control Pin
squidev4-Dec-05 11:50
squidev4-Dec-05 11:50 
GeneralRe: custom control Pin
xiantia5-Dec-05 10:11
xiantia5-Dec-05 10:11 
Questionwin32 console to win32 application Pin
eduardovdr4-Dec-05 2:38
eduardovdr4-Dec-05 2:38 
QuestionHow to add single event handler function Pin
Rajesh_K_Sharma3-Dec-05 20:51
Rajesh_K_Sharma3-Dec-05 20:51 
AnswerRe: How to add single event handler function Pin
Gary R. Wheeler4-Dec-05 2:03
Gary R. Wheeler4-Dec-05 2:03 
If you are using MFC, you can use an ON_CONTROL_RANGE message map entry, like this:
// in your .h file:
afx_msg void OnButton(UINT nID);
// in your .cpp file:
BEGIN_MESSAGE_MAP(...)
ON_CONTROL_RANGE(BN_CLICKED,resource_ID_min,resource_ID_max,OnButton)
END_MESSAGE_MAP
CMyDialog::OnButton(UINT nID)
{
}
where resource_ID_min is the resource ID for the first radio button in the group, and resource_ID_max is the resource ID for the last. Your handler, OnButton, is called with the resource ID of the button that was clicked. Note that you have to insert this entry manually; the wizards won't do it for you. It's also a good idea that the resource ID's for your radio buttons are sequential. You can manually edit your resource.h file to ensure that's the case.


Software Zen: delete this;
QuestionProperty sheet tabs wrongly placed when using widescreen laptop Pin
sterl3-Dec-05 20:06
sterl3-Dec-05 20:06 
QuestionVisual C++ 1.52 screws up! Pin
Lord Kixdemp3-Dec-05 15:48
Lord Kixdemp3-Dec-05 15:48 
AnswerRe: Visual C++ 1.52 screws up! Pin
Gary R. Wheeler4-Dec-05 2:41
Gary R. Wheeler4-Dec-05 2:41 
GeneralRe: Visual C++ 1.52 screws up! Pin
Jörgen Sigvardsson4-Dec-05 3:01
Jörgen Sigvardsson4-Dec-05 3:01 
AnswerRe: Visual C++ 1.52 screws up! Pin
toxcct4-Dec-05 7:04
toxcct4-Dec-05 7:04 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp4-Dec-05 8:01
Lord Kixdemp4-Dec-05 8:01 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld4-Dec-05 8:07
Bob Stanneveld4-Dec-05 8:07 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp4-Dec-05 11:26
Lord Kixdemp4-Dec-05 11:26 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld5-Dec-05 1:05
Bob Stanneveld5-Dec-05 1:05 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp5-Dec-05 9:57
Lord Kixdemp5-Dec-05 9:57 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld5-Dec-05 23:40
Bob Stanneveld5-Dec-05 23:40 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp6-Dec-05 10:57
Lord Kixdemp6-Dec-05 10:57 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld6-Dec-05 22:25
Bob Stanneveld6-Dec-05 22:25 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp10-Dec-05 9:27
Lord Kixdemp10-Dec-05 9:27 
GeneralRe: Visual C++ 1.52 screws up! Pin
Bob Stanneveld11-Dec-05 4:34
Bob Stanneveld11-Dec-05 4:34 
GeneralRe: Visual C++ 1.52 screws up! Pin
Lord Kixdemp14-Dec-05 12:21
Lord Kixdemp14-Dec-05 12:21 
Generalbutton catch double click. Pin
LeeeNN3-Dec-05 15:37
LeeeNN3-Dec-05 15:37 

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.