Solved

How to hide the system tooltip

Posted on 2001-06-26
13
201 Views
Last Modified: 2013-11-20
Dear:
  I want to hide the system tooltip. For example, when mouse moves to the right-top window close button of a dialog,the tooltip "close" appears.
  Then how to disable or hide the tooltip?
  Thanks in advance.

  rabittzju
   
0
Comment
Question by:rabbitzju
  • 6
  • 4
  • 2
  • +1
13 Comments
 
LVL 9

Accepted Solution

by:
ShaunWilde earned 25 total points
ID: 6228168
what platform you on - I am on NT4 and I don't see that
0
 
LVL 7

Assisted Solution

by:peterchen092700
peterchen092700 earned 25 total points
ID: 6228418
create your own custom titlebar.

Why would you want to do this?
0
 

Author Comment

by:rabbitzju
ID: 6229656
Dear ShaunWilde:

  I'm working on Win98Se. My workmate is the same as yours.His platform is NT4. I don't know the reason.
Maybe the windows common dll is different or destroyed.
By the way , window2k is ok too.

rabbitzju

0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

Author Comment

by:rabbitzju
ID: 6229660
Dear peterchen:

  I had never created a titlebar. I will try .
  Later tell you the result.
  Thanks

rabbitzju
   
0
 

Author Comment

by:rabbitzju
ID: 6229691
Dear peterchen:

  I had never created a titlebar. I will try .
  Later tell you the result.
  Thanks

rabbitzju
   
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6231408
rabbitzju: again - my question, out of curiosity:

Why do you want to hide the tooltip?
0
 

Author Comment

by:rabbitzju
ID: 6231667
Dear peterchen:
 
  If show tooltip, it will redraw the dialog and do sth.
In a word, it needs executive time. While our application
system is real-time.Without enough time, some data drop will happen.Avoiding it, one of  method is hide or mask it.
How do you think?
Thanks

rabbitzju

   
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6232304
rabbitzju, please consider the following, although it is bad news:

Windows not Realtime

I've been involvewd with lengthy discussions about real-time applications under windows (here, and on CodeGuru). There are only two rock solid solutions:

a) A Kernel Mode device driver
b) a third-party "shell" (that is started before windows boots)

a) requires a half-a-guru at least (although documentation became better in the recent years); and for b) I saw an offer for this once; However, I can't find any link anymore.

There are some tricks you can do in user mode for "improving real-time-responsiveness" of windows, but they all have the same problem: they give no guarantees.

So you could stay in user mode, and do some "dirty tricks" (probably investing good amount of time), but you will still have data loss now and then.

THERE IS NO GUARANTEE when windows will execute your code (as long as it's not a kernel mode driver)

Peter
0
 

Author Comment

by:rabbitzju
ID: 6232998
Dear Peter:

  Thanks for your attention @_@
  I know windows is not a real-time system. In fact, we only realize inaccurate real time. Datadrop is permitted.
But we should reduce it furthest.


rabbitzju 06/28
0
 
LVL 9

Expert Comment

by:ShaunWilde
ID: 6233145
maybe you should think if receiving your data on a high priority thread and leaving the GUI to run in another lower priority thread
0
 

Author Comment

by:rabbitzju
ID: 6233580
Dear ShaunWilde:

   We used thread early. As you know, thread is controlled
by window itself. Nobody know which thread will run at some
time slice.And I remember thread precision is ten millsecond or more. Our system sample frequecy is high.
Finally, we abandoned this scheme.

rabbitzju 06/28

0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6234229
rabbitzju: ShaunWilde is right when suggesting threads.
Everything i running in a thread, that has to live under the same scheduling rules as other threads. Step-by-step removing the "major causes" of interruption won't take you far, as there are too many to account for, on too many different systems.

To get "best performace" out of windows, you need to:

* create a worker thread that does the sampling
  this thread should have THREAD_PRIORITY_TIME_CRITICAL

* The worker thread MUST give up time slices (WaitForXXXObject, suspend, sleep, SwitchToThread) to allow other threads to run

* for your main thread, use SetThreadPriorityBoost(GetCurrentThread(), false). This disables the priority boost for your thread, when it receives user input

* Finally, you can use SetPriorityClass(GetCurrentProcess(), REAL_TIME_PRIORITY) note that this might be prohibited for the account your app runs under.

* DO ALL THIS ONLY FOR THE TIME INTERVAL WHERE YOU NEED THE HIGH PRIORITY
And this time should be short - as short as possible. Rule of thumb would be 500 ms if you do all of this.

* If you need only short intervals (<=10ms), you can even improve responsiveness by putting in a SwitchToThread() just before you need the high responsiveness. This gives other important threads a chance to run, so they are less likely to interrupt you ther next time you get scheduled.

Peter
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 9490131
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by : ShaunWilde, peterchen (points to be split)

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Host to IP 7 78
Tab names are off by one 5 54
Detect CR LF to each line 12 159
Is there a simple front-end menu system. 9 89
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

776 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