Solved

No TTN_NEEDTEXT message with WinNT ?

Posted on 1998-11-26
2
271 Views
Last Modified: 2013-11-20
When I'm running my application under Win95/98 the message TTN_NEEDTEXT is sent properly to change tooltip text in my application with ON_NOTIFY_EX(TTN_NEEDTEXT, 0, OnNEdText). If the same application is running under WinNT4.0 I don't get this message. Does anybody know why?
0
Comment
Question by:Coma
2 Comments
 
LVL 3

Accepted Solution

by:
plaroche earned 50 total points
ID: 1325351
It may come from nt's unicode system, try replacing your line with these two:

ON_NOTIFY_EX(TTN_NEEDTEXTA, 0, OnNEdText)
ON_NOTIFY_EX(TTN_NEEDTEXTW, 0, OnNEdText)

Although strange, that behavior has been observed for other messages if my memory serves me correctly.
0
 

Author Comment

by:Coma
ID: 1325352
But how can I convert my strings to unicode? I tried it but no special chars are shown like ä ü ... for German!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 189
how do i create updater to My Activex application? 3 94
withoutTen challenge 14 131
Line meaning 9 87
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question