GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 22-Nov-2005, 22:55
vijji vijji is offline
New Member
 
Join Date: Nov 2005
Posts: 1
vijji is on a distinguished road

Changing focus from one tab to another tab control


How can show the name of previous tab control when the focus is changing to other tab controls
  #2  
Old 23-Nov-2005, 07:14
aie0 aie0 is offline
Member
 
Join Date: Dec 2004
Posts: 246
aie0 is a jewel in the roughaie0 is a jewel in the rough

Re: Changing focus from one tab to another tab control


When the focus is changed two messages have to be sent:
WM_KILLFOCUS message to the window that loses the input focus WM_SETFOCUS message to the window that receives the input focus
This means you have to catch WM_KILLFOCUS and act appropriately
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing colour of individual items of control created through CListCtrl Sadia MS Visual C++ / MFC Forum 0 01-Jul-2005 08:09
[winapi] edit control is lying to me... ubergeek C Programming Language 8 15-May-2005 18:02
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 03:38
Detecting a mouse click outside of control arran.s MS Visual C++ / MFC Forum 1 27-Oct-2004 06:01
changing caption of static text control Pandiani MS Visual C++ / MFC Forum 1 20-Sep-2004 01:38

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 17:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.