Tooltips get behind richedit control and can't see much!!!

Started by xandaz, January 05, 2011, 06:22:29 PM

Previous topic - Next topic

xandaz

   Why do the tooltips get behind the richedit control? i used WS_CLIPx in the Main Window and also in the toolbar but doesn't work. If i deffer the manifest, the first time a tooltip is shown i can see it, but, the next ones i can't. Can someone tell me why? I'd try to search the forum but there's a lot of post but no titles relating to this specific matter. I'd rather not search them all. Thanks and bye

dedndave

don't feel bad
my status bar is either above or behind my scroll bars   :lol
working on it...

hutch--

Dave,

If this is happening you are not sizing the client window correctly. Use a structure result API like GetWindowRect() or GetClientRect() depending on the context and calculate the height of the status bar, then subtract that from the client window size. MoveWindow() will place the client so it lines up with both a toolbar and a status bar.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

xandaz

    Problem more or less solved. All it took was WS_CLIPSIBLINGS style in Richedit control. However the tips show at bottom right corner of the window and not near the toolbar control. Thanks and  bye

dedndave


oex

We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

xandaz