![]()  | 
 
ON_NOTIFY_EX not called with CXTPMDiframeWnd | 
 
    Post Reply  
   | 
  
| Author | |
   
   Duane  
   
   Groupie  
   Joined: 16 May 2023 Location: Montreal Status: Offline Points: 13  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: ON_NOTIFY_EX not called with CXTPMDiframeWndPosted: 01 June 2023 at 10:39am  | 
 
| 
   
    
   Using Codejock ToolkitPro22.1 with the Ribbon sample.  I'm trying to set the tooltips for a command bar acting as a toolbar as well as a ribbon.  In our MFC project we use ON_NOTIFY_EX() but this doesn't seem to be called here.  I've also tried ON_NOTIFY_EX_RANGE 
   
  Is this supported?  Is there a way to directly set the tooltip by setting the prompt programmatically? 
    | 
 |
![]()  | 
 |
   
   Fredrik  
   
   Senior Member  
   Joined: 22 June 2005 Status: Offline Points: 235  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 04 June 2023 at 1:06pm | 
 
| 
   
    
   Use the update handler instead: 
   
   
  
  | 
 |
| 
   
     
     Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
     
   
   | 
 |
![]()  | 
 |
   
   agontarenko  
   
   Moderator Group  
   Joined: 25 March 2016 Status: Offline Points: 332  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 26 July 2023 at 4:21am | 
 
| 
   
    
   Hello, 
   
  Unfortunately it is not clear what exactly is going wrong. Can you please provide more detailed information. Regards, Artem Gontarenko  | 
 |
![]()  | 
 |
   
   Duane  
   
   Groupie  
   Joined: 16 May 2023 Location: Montreal Status: Offline Points: 13  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 August 2023 at 10:43am | 
 
| 
   
    
   Sorry it wasn't clear.  Updating an MFC project with Codejock. 
   
  I was trying to use: ON_NOTIFY_EX(TTN_NEEDTEXT, 0, OnTooltipHandler) to set the toolbar tooltips dynamically as we do in the original MFC project.  But this event wasn't firing. I was able to set them directly on the toolbar buttons with CJ so it was not an issue. 
    | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |