| 2 |
VXPLibrary / Technical Questions / Problems with Area Tooltips in VC++ |
on: Jul 19th, 2005, 11:49pm |
| Started by Holger | Last post by Holger |
Hi, first of all I want to thank you for this great piece of software - it looks cool - if it´s working... Here´s my problem: I have an SDI application drawing several things in the application window. I have some "areas" on screen which should have a tooltip (different ones) The areas on screen are irregular (moving) but the borders are known. While moving the cursor over the window - the tooltip should appear when the mouse is over an area and should disapear/change when moving out or into another area. Got me? Therefor I use: m_tt.windows.Add(...); and m_tt.windows.Remove(); It works fine, but sometimes the tooltip doesn´t change its text. I looged the string to add and its always different when i move over another area, but the tooltip doesnt change... Any ideas? Or am I using the tooltips wrong? I hope you understand me - my english isn´t very good |
Reply Quote Notify of replies
|
| 3 |
VXPLibrary / Technical Questions / How to add more menus to existing ones? |
on: Jul 12th, 2005, 3:06am |
| Started by Macmillan | Last post by Macmillan |
Hi!!! I 've been able to successfully add some menu items to the 2 main menus designed in ur advanced menus example. Now, i had designed 5-6 more main menus but i 've not been able to run qhtml on those menus. i.e. the 1st 2 menus are working fine but the other ones r not displaying properly. i think i have missed something in the menu_OnMenuInit function. it is like:::: Private Sub menu_OnMenuInit(ByVal hMenu As Long, ByVal ItemPos As Integer, ByVal IsWindowMenu As Boolean) If IsWindowMenu Then menu.Override 0, True, 0, 0 menu.Override 1, True, 0, 0 menu.Override 2, True, 0, 0 menu.Override 3, True, 0, 0 menu.Override 4, True, 0, 0 menu.Override 5, True, 0, 0 menu.Override 6, True, 0, 0 menu.Override 7, True, 0, 0 menu.Override 8, True, 0, 0 menu.Override 9, True, 0, 0 menu.Override 10, True, 0, 0 menu.Override 1, True, 0, 1 menu.Override 2, True, 0, 1 menu.Override 3, True, 0, 1 menu.Override 4, True, 0, 1 menu.Override 5, True, 0, 1 menu.Override 6, True, 0, 1 menu.Override 7, True, 0, 1 menu.Override 8, True, 0, 1 menu.Override 9, True, 0, 1 menu.Override 10, True, 0, 1 menu.Override 0, True, 0, 1 menu.Override 1, True, 0, 1 End If ------------------------------------------------------------- plz help me to define the overriding parameters to add further main menus. thank u |
Reply Quote Notify of replies
|
| 7 |
VXPLibrary / Technical Questions / Re: How to code vc to keep full control |
on: Jul 1st, 2005, 1:33am |
| Started by martbarr | Last post by Vitaly |
Hi Martin, Thank you for the screenshot. I didn't realize you were talking about big tooltips. In the example you showed me the tooltp is cut from below simply because it is too big. When you say ShotAt it will try to display bottom right from the specified position. But if it can't (tooltip doesn't fit), it will try to flip the tooltip to where it can to make it fully visible. The only situation when the tooltip doesn't flip on an alternative side is when it is so big, that switching to a different side still won't make it fully visible, so it thinks there's no point then. In your example i can see the tooltip is so long that if it tried to switch to the top it'd become even less visible. P.S. Please note that if you're using dynamic text in your tooltips, such can be cut gracefully by method IVXPQuickHTML::TextToHTMLEx |
Reply Quote Notify of replies
|
| 9 |
VXPLibrary / Technical Questions / Re: Draw to hDC |
on: Jun 21st, 2005, 9:38am |
| Started by robosport | Last post by Vitaly |
Hi RO, Unfortunately, we are very short on time resources to investigate into third-party issues, especially since the source code is freely available, so you can look into any issue yourself. |
Reply Quote Notify of replies
|
| 10 |
VXPLibrary / Technical Questions / Re: Two tooltip formatting questions |
on: Jun 16th, 2005, 8:43am |
| Started by WinUser32 | Last post by Vitaly |
Hi, To set margins, override event OnSetDefaults of VXPQuickHTML, and within that event call: tt.tool.html.settings.margins.Left = newvalue tt.tool.html.settings.margins.Top = newvalue tt.tool.html.settings.margins.Right = newvalue tt.tool.html.settings.margins.Bottom = newvalue That if you're using VXPTooltipsManager tt Or u can override even these settings, if you put margins right into QHTML (see QHTML spec, tag BODY); As for icons, those can be used only from DLL file resources, EXE file resources and external files. VB image lists are not supported. See multiple examples we have for VB to understand how to use icons |
Reply Quote Notify of replies
|
Return to the board index.
|
|
|