Click here to Skip to main content
15,891,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLoad *.ico onto Toolbar Pin
bagavathikumar29-Apr-08 19:32
bagavathikumar29-Apr-08 19:32 
AnswerRe: Load *.ico onto Toolbar Pin
Saurabh.Garg29-Apr-08 19:47
Saurabh.Garg29-Apr-08 19:47 
AnswerRe: Load *.ico onto Toolbar Pin
thuchv8714-Apr-10 19:44
thuchv8714-Apr-10 19:44 
Questionhow to create log file in Visual C++ ??? Pin
cb0206129-Apr-08 17:13
cb0206129-Apr-08 17:13 
AnswerRe: how to create log file in Visual C++ ??? PinPopular
_AnsHUMAN_ 29-Apr-08 19:22
_AnsHUMAN_ 29-Apr-08 19:22 
AnswerRe: how to create log file in Visual C++ ??? Pin
Hamid_RT29-Apr-08 21:35
Hamid_RT29-Apr-08 21:35 
AnswerRe: how to create log file in Visual C++ ??? Pin
David Crow30-Apr-08 3:51
David Crow30-Apr-08 3:51 
QuestionCtrl Alt F4 Pin
Christopher Duncan29-Apr-08 15:56
Christopher Duncan29-Apr-08 15:56 
This is so terribly embarrassing. An old dog like myself shouldn't be asking such stupid questions, but for the life of me I'm can't find the right switch to flip. Of course, I knew I was in trouble when I heard myself mutter, "All I wanted to do was..." D'Oh! | :doh:

IE7 has a convoluted Ctrl+Alt+F4 combination to close all but the current tab (best as I can determine from Google, etc., there is no Tabs API, bizarre as that may be). So, in a toolbar I wrote, I simply wanted to add a button so the user could click to close all tabs instead of playing a game of Twister with their fingers. WM_KEYDOWN, SendInput, Get/SetKeyboardState, I've screwed around with all of this, but I can't seem to find the proper approach to send this particular keystroke combination. Of course, it's the combination of Ctrl and Alt that is the complicating factor.

So, how 'bout it - any of you old dogs (or all the young dogs who are much brighter than I am) know how to accomplish this? It really feels like one of those solutions that's going to be so simple as to make me feel quite inept once discovered, but hey, I've been there before. Smile | :)

Thanks for any insights you might offer.


Christopher Duncan
Author of
The Career Programmer and Unite the Tribes
Coming soon: Got a career question? Ask the Attack Chihuahua!
www.PracticalUSA.com

AnswerRe: Ctrl Alt F4 [modified] Pin
Saurabh.Garg29-Apr-08 16:24
Saurabh.Garg29-Apr-08 16:24 
GeneralRe: Ctrl Alt F4 Pin
Christopher Duncan29-Apr-08 17:05
Christopher Duncan29-Apr-08 17:05 
GeneralRe: Ctrl Alt F4 Pin
Saurabh.Garg29-Apr-08 17:27
Saurabh.Garg29-Apr-08 17:27 
GeneralRe: Ctrl Alt F4 Pin
vijay_aroli29-Apr-08 17:47
vijay_aroli29-Apr-08 17:47 
GeneralRe: Ctrl Alt F4 Pin
Christopher Duncan29-Apr-08 19:57
Christopher Duncan29-Apr-08 19:57 
JokeRe: Ctrl Alt F4 Pin
vijay_aroli29-Apr-08 20:48
vijay_aroli29-Apr-08 20:48 
JokeRe: Ctrl Alt F4 Pin
Nelek29-Apr-08 23:12
protectorNelek29-Apr-08 23:12 
QuestionGet only focus( text should not be selected ) on MDI child while opening dynamically Pin
Member 453851029-Apr-08 12:13
Member 453851029-Apr-08 12:13 
AnswerRe: Get only focus( text should not be selected ) on MDI child while opening dynamically Pin
Member 453851029-Apr-08 15:31
Member 453851029-Apr-08 15:31 
AnswerRe: Get only focus( text should not be selected ) on MDI child while opening dynamically Pin
Yusuf29-Apr-08 15:31
Yusuf29-Apr-08 15:31 
GeneralRe: Get only focus( text should not be selected ) on MDI child while opening dynamically Pin
Member 453851029-Apr-08 15:40
Member 453851029-Apr-08 15:40 
QuestionHow to implement a dynamic panel of controls in MFC Pin
C0mendador29-Apr-08 11:24
C0mendador29-Apr-08 11:24 
AnswerRe: How to implement a dynamic panel of controls in MFC Pin
Christopher Duncan29-Apr-08 16:02
Christopher Duncan29-Apr-08 16:02 
AnswerRe: How to implement a dynamic panel of controls in MFC Pin
Rajkumar R29-Apr-08 21:20
Rajkumar R29-Apr-08 21:20 
Questionhelp with win32 Pin
worldwarIIfanatic29-Apr-08 10:44
worldwarIIfanatic29-Apr-08 10:44 
AnswerRe: help with win32 Pin
Saurabh.Garg29-Apr-08 16:12
Saurabh.Garg29-Apr-08 16:12 
AnswerRe: help with win32 Pin
CPallini29-Apr-08 21:24
mveCPallini29-Apr-08 21:24 

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.