?
Solved

No TTN_NEEDTEXT message with WinNT ?

Posted on 1998-11-26
2
Medium Priority
?
276 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
plaroche earned 150 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

762 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