Click here to Skip to main content
16,013,082 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: When and how do I know how to use Unicode Pin
BrockVnm20-Jan-04 8:49
BrockVnm20-Jan-04 8:49 
GeneralRe: When and how do I know how to use Unicode Pin
David Crow20-Jan-04 9:01
David Crow20-Jan-04 9:01 
GeneralQuery on When and how do I know how to use Unicode? Pin
SiddharthAtw20-Jan-04 17:15
SiddharthAtw20-Jan-04 17:15 
Generalto track changing the selection of combobox Pin
Bash20-Jan-04 3:52
Bash20-Jan-04 3:52 
GeneralRe: to track changing the selection of combobox Pin
Ravi Bhavnani20-Jan-04 4:25
professionalRavi Bhavnani20-Jan-04 4:25 
GeneralWhat is "trap"? I'm not sure about terminology... Pin
Bash20-Jan-04 5:12
Bash20-Jan-04 5:12 
GeneralRe: What is "trap"? I'm not sure about terminology... Pin
Ravi Bhavnani20-Jan-04 5:15
professionalRavi Bhavnani20-Jan-04 5:15 
GeneralTrapping Kill Focus from my Custom Control Pin
tabish12120-Jan-04 3:33
tabish12120-Jan-04 3:33 
I've got a custom control that I am implementing that behaves much like a combo box. When the user clicks the down arrow button, an new window is displayed that presents a Color Selector much like the one in MS Office. I've based the code loosely on articles found here on CodeGuru, with modifications for my specific requirements. Now I've got everything working fine but one that that is causing me trouble is that when the Color selection drop down is shown the control gets a killfocus message. I don't really want a
kill focus message to go out since my control hasn't really lost focus, its just given it to is dropdown window.

Looking at SPY I see that the normal combo box doesn't send out a kill focus when the dropdown is opened so there must be a way to trap the message.

Does anyone know how I can keep my Control from sending a kill focus when the Dropdown window is shown?

My class is derived from CButton.

Thanks




Timothy Bish
tabish[at]twcny.rr.com
timothy.a.bish[at]lmco.com

GeneralRe: Trapping Kill Focus from my Custom Control Pin
Ravi Bhavnani20-Jan-04 4:36
professionalRavi Bhavnani20-Jan-04 4:36 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
tabish12120-Jan-04 5:10
tabish12120-Jan-04 5:10 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
Roger Allen20-Jan-04 5:18
Roger Allen20-Jan-04 5:18 
GeneralRe: Trapping Kill Focus from my Custom Control Pin
tabish12120-Jan-04 7:01
tabish12120-Jan-04 7:01 
Generalhelp Pin
Anonymous20-Jan-04 3:12
Anonymous20-Jan-04 3:12 
GeneralRe: help Pin
Larry J. Siddens20-Jan-04 3:39
Larry J. Siddens20-Jan-04 3:39 
GeneralMFC code works in some directorys and not others Pin
BrockVnm20-Jan-04 3:05
BrockVnm20-Jan-04 3:05 
GeneralRe: MFC code works in some directorys and not others Pin
Ravi Bhavnani20-Jan-04 4:38
professionalRavi Bhavnani20-Jan-04 4:38 
QuestionHow to create Listbox VC .NET Pin
sallas20-Jan-04 2:37
sallas20-Jan-04 2:37 
AnswerRe: How to create Listbox VC .NET Pin
Michael P Butler20-Jan-04 3:42
Michael P Butler20-Jan-04 3:42 
GeneralRe: How to create Listbox VC .NET Pin
sallas20-Jan-04 11:12
sallas20-Jan-04 11:12 
AnswerRe: How to create Listbox VC .NET Pin
Larry J. Siddens20-Jan-04 3:42
Larry J. Siddens20-Jan-04 3:42 
QuestionAccessing contents of Shell Folder Query? Pin
arrya_amit20-Jan-04 2:28
arrya_amit20-Jan-04 2:28 
QuestionHow to get/set the position of buttons, ListCtrl etc.? Pin
P-Rex20-Jan-04 1:52
P-Rex20-Jan-04 1:52 
AnswerRe: How to get/set the position of buttons, ListCtrl etc.? Pin
SJolly20-Jan-04 2:21
SJolly20-Jan-04 2:21 
AnswerRe: How to get/set the position of buttons, ListCtrl etc.? Pin
David Crow20-Jan-04 2:56
David Crow20-Jan-04 2:56 
QuestionAnybody who knows about Visual C++ Speech applications? Pin
satcat20-Jan-04 1:20
satcat20-Jan-04 1:20 

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.