Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Bug for showing Tooltips in CExtComboBox ? Collapse All
Subject Author Date
Andreas Spachtholz Mar 5, 2010 - 5:39 AM

Hi,


 


we are using CExtComboBox and we want to show a tooltip for the combobox. initially it works fine, the dialog open, and I can see the tooltip when the mouse is over the combobox. After some second it dissapears and now the tooltip will not show up again.


The same thing happen, if we select an item of the combobox. No tooltip is shown any more for the combobox.


Do you know this bug?


Any workaround?


Thanks.


 


BR,


Andreas


 

Andreas Spachtholz Mar 8, 2010 - 2:42 AM

Hi,


I cannot confirm this.


We just built the ProfUIS_Controls Application (2.88 with ANSI Debug, Windows XP (english), Visual Studio 2008).


We added one line to the PageHyperLinks.cpp


---------------------------



 


 


m_wndLinkCursor.SetItemData( nIndex, (DWORD)IDC_SIZEALL

);

 


 


m_wndLinkCursor.SetCurSel( nInitSel

)

 


 


-> m_wndLinkCursor.SetTooltipText( "Hallo"

);---------------------------





 


 


 


 


Now we get the same behaviour in you application as we can observe in ours.


The tooltip appears - after some second it dissapears and never comes back. The some problem occurs when the selected item was changed.


Do we something wrong?


Can you tell me, what sample application you have used to check it?


Thanks.


Regards, Andreas

Technical Support Mar 9, 2010 - 8:36 AM

We reproduced this issue. Its specific for Windows XP only. Please give us a few days to fix it.

Andreas Spachtholz Apr 6, 2010 - 11:31 PM

Hi,


could you fix this issue meanwhile?


Thanks.


Kind Regards,


Andreas

Technical Support Apr 13, 2010 - 5:50 AM

We are sorry for the delay with this reply. Please update the source code for the .../Prof-UIS/Include/ExtComboBox.h and .../Prof-UIS/Src/ExtComboBox.cpp files from the following ZIP file:

http://www.prof-uis.com/download/forums/tmp/ExtComboBoxUpdateForAndreasSpachtholz.zip

Andreas Spachtholz Mar 8, 2010 - 2:42 AM

Hi,


I cannot confirm this.


We just built the ProfUIS_Controls Application (2.88 with ANSI Debug, Windows XP (english), Visual Studio 2008).


We added one line to the PageHyperLinks.cpp


---------------------------



 


 


m_wndLinkCursor.SetItemData( nIndex, (DWORD)IDC_SIZEALL

);

 


 


m_wndLinkCursor.SetCurSel( nInitSel

)

 


 


-> m_wndLinkCursor.SetTooltipText( "Hallo"

);---------------------------





 


 


 


 


Now we get the same behaviour in you application as we can observe in ours.


The tooltip appears - after some second it dissapears and never comes back. The some problem occurs when the selected item was changed.


Do we something wrong?


Can you tell me, what sample application you have used to check it?


Thanks.


Regards, Andreas

Technical Support Mar 5, 2010 - 10:25 AM

We used the ProfUIS_Controls sample application of Prof-UIS 2.88 to check the issue you reported. The Buttons dialog page contains the Cursor combo box. This combo box is subclassed by the CExtComboBox m_Cursor; property of the CPageButtons class and initialized in the CPageButtons::OnInitDialog() method. We added the following line into this method:

   m_Cursor.SetTooltipText( _T("Cursor") );

Now the Cursor combo box displays the tooltip. We saw tooltip many times with and without changing the combo box selection. So, the first thing we suspect is that the problem is specific for your application. We need your help in reproducing it.

Andreas Spachtholz Mar 8, 2010 - 2:43 AM

Hi,


 


I cannot confirm this.


 


We just built the ProfUIS_Controls Application (2.88 with ANSI Debug, Windows XP (english), Visual Studio 2008).


 


We added one line to the PageHyperLinks.cpp


 


---------------------------




m_wndLinkCursor.SetItemData( nIndex, (DWORD)IDC_SIZEALL

);


 



 




m_wndLinkCursor.SetCurSel( nInitSel

)




-> m_wndLinkCursor.SetTooltipText( "Hallo"

);--------------------------- 



 


Now we get the same behaviour in you application as we can observe in ours.


 


The tooltip appears - after some second it dissapears and never comes back. The some problem occurs when the selected item was changed.


 


Do we something wrong?


 


Can you tell me, what sample application you have used to check it?


 


Thanks.


 


Regards, Andreas