Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListView Pin
João Paulo Figueira25-Feb-03 0:37
professionalJoão Paulo Figueira25-Feb-03 0:37 
GeneralCalculating duration of internet connections Pin
Captain Kirk24-Feb-03 23:47
Captain Kirk24-Feb-03 23:47 
GeneralOverlapped IO with WriteFile Pin
zecodela24-Feb-03 23:28
zecodela24-Feb-03 23:28 
GeneralCHtmlView Problems!!! Pin
arunbooboo24-Feb-03 23:15
arunbooboo24-Feb-03 23:15 
GeneralRe: CHtmlView Problems!!! Pin
Big Art25-Feb-03 6:16
Big Art25-Feb-03 6:16 
GeneralRe: CHtmlView Problems!!! Pin
arunbooboo25-Feb-03 17:16
arunbooboo25-Feb-03 17:16 
GeneralRe: CHtmlView Problems!!! Pin
Big Art26-Feb-03 13:42
Big Art26-Feb-03 13:42 
GeneralRe: CHtmlView Problems!!! Pin
arunbooboo26-Feb-03 16:04
arunbooboo26-Feb-03 16:04 
Hey Art,

Thank you for writing back.
I made some progress regarding the problem but all is not well!!

The HTML bar that i was referring to is derived from CHtmlView class.
Okay, so when i click on it the focus is set on this. Now all i need to do is reset the focus back on to the main view. unfortunately the pOldWnd parameter that is passed into the OnSetFocus function of my CHtmlBar class is that of either CMainFrame or CListCtrl or CMyView (THE VIEW). I can only use SetActiveView() function if it pOldView is referring to CMyView, else it gives me an error at IsChild() which is called in SetActiveView() of CFrameWnd class.

Now i think i need to use SendMessage(WM_KILLFOCUS, , ) from OnSetFocus() function of CHtmlBar. But I need to fool the application in beleiving that this message is from CMyView.. how do i do that? HELP PLEASE ?!!
Wud u tell me how the remaining two parameters of SendMessage can be used to send this kind of a message.

Okay! hope i am not bugging you.
I'd/I am really appreciate/appreciating the help you are giving me.

Luv Arun.


GeneralRe: CHtmlView Problems!!! Pin
Big Art1-Mar-03 5:23
Big Art1-Mar-03 5:23 
Generalhelp!!!!! about image show Pin
chrisluan24-Feb-03 22:27
chrisluan24-Feb-03 22:27 
GeneralRe: help!!!!! about image show Pin
Christian Graus24-Feb-03 23:05
protectorChristian Graus24-Feb-03 23:05 
Generaltoolbar images Pin
Dudi Avramov24-Feb-03 22:03
Dudi Avramov24-Feb-03 22:03 
GeneralRe: toolbar images Pin
Anna-Jayne Metcalfe24-Feb-03 22:20
Anna-Jayne Metcalfe24-Feb-03 22:20 
GeneralRe: toolbar images Pin
Dudi Avramov24-Feb-03 23:06
Dudi Avramov24-Feb-03 23:06 
GeneralRe: toolbar images Pin
ROK_RShadow25-Feb-03 0:12
ROK_RShadow25-Feb-03 0:12 
GeneralRe: toolbar images Pin
Dudi Avramov25-Feb-03 1:23
Dudi Avramov25-Feb-03 1:23 
GeneralCompile errors Pin
msh24-Feb-03 21:39
msh24-Feb-03 21:39 
GeneralRe: Compile errors Pin
benjymous25-Feb-03 0:36
benjymous25-Feb-03 0:36 
QuestionHow to connect to Database in Dynamic Pin
Exceter24-Feb-03 18:35
Exceter24-Feb-03 18:35 
QuestionHelp w/ Distributed Search Algorithm? Pin
AAntix24-Feb-03 18:11
AAntix24-Feb-03 18:11 
AnswerRe: Help w/ Distributed Search Algorithm? Pin
Joaquín M López Muñoz24-Feb-03 21:08
Joaquín M López Muñoz24-Feb-03 21:08 
GeneralRe: Help w/ Distributed Search Algorithm? Pin
AAntix24-Feb-03 21:14
AAntix24-Feb-03 21:14 
GeneralBeginner Line Numbers Question Pin
John Dory24-Feb-03 17:28
John Dory24-Feb-03 17:28 
GeneralRe: Beginner Line Numbers Question Pin
Christian Graus24-Feb-03 17:43
protectorChristian Graus24-Feb-03 17:43 
GeneralRe: Beginner Line Numbers Question Pin
John Dory24-Feb-03 19:37
John Dory24-Feb-03 19:37 

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.