Click here to Skip to main content
15,847,903 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Data string Parsing Pin
srija28-Feb-06 2:37
srija28-Feb-06 2:37 
AnswerRe: Data string Parsing Pin
Naveen28-Feb-06 1:59
Naveen28-Feb-06 1:59 
AnswerRe: Data string Parsing Pin
mbue28-Feb-06 4:30
mbue28-Feb-06 4:30 
GeneralRe: Data string Parsing Pin
srija1-Mar-06 4:05
srija1-Mar-06 4:05 
Questiondoubt in connecting dialog to MDI Pin
mailsafe28-Feb-06 1:26
mailsafe28-Feb-06 1:26 
AnswerRe: doubt in connecting dialod to MDI Pin
David Crow28-Feb-06 3:45
David Crow28-Feb-06 3:45 
AnswerRe: doubt in connecting dialod to MDI Pin
mbue28-Feb-06 4:39
mbue28-Feb-06 4:39 
QuestionFocusless window - how to make that? Pin
midix28-Feb-06 1:13
midix28-Feb-06 1:13 
MFC is so full of capabilities that I am a bit confused in the documentation and help files and cannot find the solution.
The problem:
I have a simple CDialog based app window with an ActiveX control in it. This ActiveX control has a feature that I do not need at all: it makes the dialog box jump in the foreground sometimes. Even if I hide the window (ShowWinow(SW_HIDE)), my app steals the input focus. It is normal behaviour for that ActiveX control and I do not want (and can't) modify the ActiveX control.
But I want to make my app "focusless" - that means if it receives some message to activate or jump foreground or capture keyboard and mouse focus, it should not respond. Have tried OnActivate, OnActivateApp, OnNcActivate, OnSetFocus, but these handlers are triggered AFTER the actual event and this does not work for me. I even agree to have this window to be invisible all the time (or maybe you know how to get ActiveX work without any window at all? , it just needs to be silent in the background until it does what it has to do and then exits.
Any ideas?
Thanks (at least for reading this)
AnswerRe: Focusless window - how to make that? Pin
mbue28-Feb-06 1:22
mbue28-Feb-06 1:22 
GeneralRe: Focusless window - how to make that? Pin
midix28-Feb-06 4:35
midix28-Feb-06 4:35 
GeneralRe: Focusless window - how to make that? Pin
mbue28-Feb-06 14:27
mbue28-Feb-06 14:27 
QuestionGutmann Algorithm Pin
rajeevktripathi28-Feb-06 0:41
rajeevktripathi28-Feb-06 0:41 
AnswerRe: Gutmann Algorithm Pin
Trollslayer28-Feb-06 23:54
mentorTrollslayer28-Feb-06 23:54 
QuestionEnvironment Variable Pin
Anil_vvs28-Feb-06 0:41
Anil_vvs28-Feb-06 0:41 
AnswerRe: Environment Variable Pin
toxcct28-Feb-06 0:46
toxcct28-Feb-06 0:46 
AnswerRe: Environment Variable Pin
mbue28-Feb-06 1:08
mbue28-Feb-06 1:08 
GeneralRe: Environment Variable Pin
toxcct28-Feb-06 1:10
toxcct28-Feb-06 1:10 
GeneralRe: Environment Variable Pin
Cedric Moonen28-Feb-06 1:39
Cedric Moonen28-Feb-06 1:39 
GeneralRe: Environment Variable Pin
toxcct28-Feb-06 1:42
toxcct28-Feb-06 1:42 
GeneralRe: Environment Variable Pin
Abebe28-Feb-06 3:34
Abebe28-Feb-06 3:34 
QuestionRe: Environment Variable Pin
David Crow28-Feb-06 3:49
David Crow28-Feb-06 3:49 
Questioni want to close a dialogbox with a button on it ... Pin
Mahhouraaaaaa28-Feb-06 0:37
Mahhouraaaaaa28-Feb-06 0:37 
AnswerRe: i want to close a dialogbox with a button on it ... Pin
toxcct28-Feb-06 0:44
toxcct28-Feb-06 0:44 
AnswerRe: i want to close a dialogbox with a button on it ... Pin
mbue28-Feb-06 1:06
mbue28-Feb-06 1:06 
GeneralRe: i want to close a dialogbox with a button on it ... Pin
toxcct28-Feb-06 1:10
toxcct28-Feb-06 1:10 

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.