Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Moving Windows Pin
Beer265-Oct-03 16:09
Beer265-Oct-03 16:09 
GeneralRe: Moving Windows Pin
Dave Bryant5-Oct-03 16:10
Dave Bryant5-Oct-03 16:10 
Questionloosing my backspace messages??? Pin
Beer265-Oct-03 15:38
Beer265-Oct-03 15:38 
AnswerRe: loosing my backspace messages??? Pin
J. Dunlap5-Oct-03 15:53
J. Dunlap5-Oct-03 15:53 
GeneralRe: loosing my backspace messages??? Pin
Beer265-Oct-03 15:57
Beer265-Oct-03 15:57 
GeneralRe: loosing my backspace messages??? Pin
J. Dunlap5-Oct-03 16:28
J. Dunlap5-Oct-03 16:28 
AnswerRe: loosing my backspace messages??? Pin
Michael Dunn5-Oct-03 19:26
sitebuilderMichael Dunn5-Oct-03 19:26 
GeneralRe: loosing my backspace messages??? Pin
Beer266-Oct-03 3:28
Beer266-Oct-03 3:28 
from MSDN

Some objects might want to support the inside-out activation model by marking themselves with the OLEMISC_INSIDEOUT flag. In this model, a single click on the object causes it to be activated in place.

mk:@MSITStore:C:\Program%20Files\Microsoft%20Visual%20Studio\MSDN98\98VS\1033\inole.chm::/D1/S12f9.htm

Therefore, to select the object as a whole, the user selects the border, or some other handle, provided by the object or its container. For example, the container

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/ch12f.asp

I found out that If i click the top level window(the one with the elipse drawn from my example), the backspace will work.

Now I know why it wouldn't work in the first place, the ocx has the OLEMISC_ACTIVATEWHENVISIBLE flag, but it WON'T activate when visible, as the quote above from suggests, unless the user clicks the control border.

Now, who in their right mind is going to click the border instead of the CEdit in the control?

jdunlap's link doesn't work, because my example is an active X control and not a ATL Com control, so the activateinplace method is not exposed.

Also, MDunn's suggestion won't work either because it's not a keystroke problem Frown | :(
GeneralSQL Database Pin
don7cry5-Oct-03 15:21
don7cry5-Oct-03 15:21 
GeneralRe: SQL Database Pin
alex.barylski5-Oct-03 16:12
alex.barylski5-Oct-03 16:12 
Generaltext color and font Pin
no_life5-Oct-03 12:51
no_life5-Oct-03 12:51 
GeneralRe: text color and font Pin
alex.barylski5-Oct-03 16:29
alex.barylski5-Oct-03 16:29 
GeneralRe: text color and font Pin
J. Dunlap5-Oct-03 16:32
J. Dunlap5-Oct-03 16:32 
GeneralRe: text color and font Pin
no_life6-Oct-03 17:11
no_life6-Oct-03 17:11 
GeneralRe: text color and font Pin
no_life7-Oct-03 8:55
no_life7-Oct-03 8:55 
GeneralRe: text color and font Pin
alex.barylski7-Oct-03 9:16
alex.barylski7-Oct-03 9:16 
GeneralRe: text color and font Pin
no_life7-Oct-03 20:03
no_life7-Oct-03 20:03 
GeneralMDI FormView Printing Pin
vancouver7775-Oct-03 11:55
vancouver7775-Oct-03 11:55 
GeneralIP/name conversion Pin
Kuniva5-Oct-03 10:36
Kuniva5-Oct-03 10:36 
GeneralRe: IP/name conversion Pin
Michael Dunn5-Oct-03 12:09
sitebuilderMichael Dunn5-Oct-03 12:09 
GeneralAttributes in Visual C++ .NET 2003 Pin
Urban Olars5-Oct-03 9:43
Urban Olars5-Oct-03 9:43 
Generalpow Pin
iasaber5-Oct-03 8:55
iasaber5-Oct-03 8:55 
GeneralRe: pow Pin
ZoogieZork5-Oct-03 8:58
ZoogieZork5-Oct-03 8:58 
GeneralVisual Studio Wizards Pin
Franz Klein5-Oct-03 8:00
Franz Klein5-Oct-03 8:00 
GeneralWin 32 and MFC Problem Pin
spiritualfields5-Oct-03 7:36
spiritualfields5-Oct-03 7:36 

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.