The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: xandaz on January 17, 2011, 09:50:56 PM

Title: Toolbar Tooltips seem to be oriented in Screen reather than Client!?
Post by: xandaz on January 17, 2011, 09:50:56 PM
   Hey i was making this richedit example and i noticed that the tooltips are show way down in the client's area. I decide to make a little test app and the same happens. Can someone explain why? How do i get throught this without tracking? does anyone know? it seems to work fine for other controls.
Title: Re: Toolbar Tooltips seem to be oriented in Screen reather than Client!?
Post by: xandaz on January 17, 2011, 09:56:00 PM
   oops... let me repost. forgot to init the library.
Title: Re: Toolbar Tooltips seem to be oriented in Screen reather than Client!?
Post by: jj2007 on January 18, 2011, 01:50:14 AM
Very odd indeed. When adding ToolTips to the toolbar itself, the balloon appears in the right location but the individual ones keep moving with the screen position...
Title: Re: Toolbar Tooltips seem to be oriented in Screen reather than Client!?
Post by: xandaz on January 18, 2011, 01:57:56 AM
   Problem solved. Says in the manual that Tooltips have the WS_POPUP style and WS_EX_TOOLWINDOW ExStyle but doesnt seem entirelly true. I mentioned the styles and the tooltips appear where they belong: next to tool they belong to. Thn
Title: Re: Toolbar Tooltips seem to be oriented in Screen reather than Client!?
Post by: xandaz on January 18, 2011, 01:58:32 AM
   forgot to attach again. thanks