Solved

No TTN_NEEDTEXT message with WinNT ?

Posted on 1998-11-26
2
267 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 94
How to determine file rename from EventLog ? 2 43
format the code in java 6 86
Making an alias 7 81
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now