Solved

No TTN_NEEDTEXT message with WinNT ?

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand macro to ask for filename column 8 37
WinWaitActive parameters 12 31
Change owner from userA to server Local Administrators 7 62
Thin secure Windows 10 5 95
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 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