Click here to Skip to main content
15,900,818 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Data string Parsing Pin
srija28-Feb-06 1:37
srija28-Feb-06 1:37 
AnswerRe: Data string Parsing Pin
Naveen28-Feb-06 0:59
Naveen28-Feb-06 0:59 
AnswerRe: Data string Parsing Pin
mbue28-Feb-06 3:30
mbue28-Feb-06 3:30 
GeneralRe: Data string Parsing Pin
srija1-Mar-06 3:05
srija1-Mar-06 3:05 
Questiondoubt in connecting dialog to MDI Pin
mailsafe28-Feb-06 0:26
mailsafe28-Feb-06 0:26 
AnswerRe: doubt in connecting dialod to MDI Pin
David Crow28-Feb-06 2:45
David Crow28-Feb-06 2:45 
AnswerRe: doubt in connecting dialod to MDI Pin
mbue28-Feb-06 3:39
mbue28-Feb-06 3:39 
QuestionFocusless window - how to make that? Pin
midix28-Feb-06 0:13
midix28-Feb-06 0: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 0:22
mbue28-Feb-06 0:22 
GeneralRe: Focusless window - how to make that? Pin
midix28-Feb-06 3:35
midix28-Feb-06 3:35 
GeneralRe: Focusless window - how to make that? Pin
mbue28-Feb-06 13:27
mbue28-Feb-06 13:27 
QuestionGutmann Algorithm Pin
rajeevktripathi27-Feb-06 23:41
rajeevktripathi27-Feb-06 23:41 
AnswerRe: Gutmann Algorithm Pin
Trollslayer28-Feb-06 22:54
mentorTrollslayer28-Feb-06 22:54 
QuestionEnvironment Variable Pin
Anil_vvs27-Feb-06 23:41
Anil_vvs27-Feb-06 23:41 
AnswerRe: Environment Variable Pin
toxcct27-Feb-06 23:46
toxcct27-Feb-06 23:46 
AnswerRe: Environment Variable Pin
mbue28-Feb-06 0:08
mbue28-Feb-06 0:08 
GeneralRe: Environment Variable Pin
toxcct28-Feb-06 0:10
toxcct28-Feb-06 0:10 
GeneralRe: Environment Variable Pin
Cedric Moonen28-Feb-06 0:39
Cedric Moonen28-Feb-06 0:39 
GeneralRe: Environment Variable Pin
toxcct28-Feb-06 0:42
toxcct28-Feb-06 0:42 
GeneralRe: Environment Variable Pin
Abebe28-Feb-06 2:34
Abebe28-Feb-06 2:34 
QuestionRe: Environment Variable Pin
David Crow28-Feb-06 2:49
David Crow28-Feb-06 2:49 
Questioni want to close a dialogbox with a button on it ... Pin
Mahhouraaaaaa27-Feb-06 23:37
Mahhouraaaaaa27-Feb-06 23:37 
AnswerRe: i want to close a dialogbox with a button on it ... Pin
toxcct27-Feb-06 23:44
toxcct27-Feb-06 23:44 
AnswerRe: i want to close a dialogbox with a button on it ... Pin
mbue28-Feb-06 0:06
mbue28-Feb-06 0:06 
GeneralRe: i want to close a dialogbox with a button on it ... Pin
toxcct28-Feb-06 0:10
toxcct28-Feb-06 0: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.