|
DavidCrow wrote: Yes, z-order can make or break tooltips.
Yes, but I thought if a right click was pressed on a control, that control would be checked for a tooltip. If that didn't have one, it would look at the next one in the tab order, and so on, until it found a tooltip. So if I had a groupbox as the first in the tab order, then a static control, then an edit control that has a tooltip associated with it, I can right click on any of the three to get the tooltip.
To bring it back to the original question, wouldn't re-ordering them in this way at least be a way to see if it fixes his disappearing controls. If he doesn't want the groupbox to ever have a tooltip associated with it, it needs to be the last in the tab order (which is why I guess he's doing that), but that messes with the z-order.
That's why I had the SetWindowPos solution as well. This is one of those things that I spent years dealing with, and I thought I had a pretty good system for it, but it's been a long time since I've worried about it. I just realized I've been talking about context sensitive help and this has been about tooltips.
There are similar issues involved, though, involving tab ordering.
|
|
|
|
|
David Kentley wrote: To bring it back to the original question, wouldn't re-ordering them in this way at least be a way to see if it fixes his disappearing controls. No, because the group controls are no longer part of the problem. At this point, all controls are at the same "level." See here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
|
|
|
|
|
Make sure the dialog window has "Clip Children" set to "False" (Use the Resource Editor to verify)
|
|
|
|
|
That's also set to false.
|
|
|
|
|
Just for grins, remove the "group" controls.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
|
|
|
|
|
That also didn't help. I think the problem is far more down in the code, not in the dialog resource. Are the no common code problems that could cause this?
|
|
|
|
|
j_schultz wrote: Are the no common code problems that could cause this?
Only if you've explicitly added such code.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
|
|
|
|
|
According to your description, seem the controls are overlapped.
please use Spy++ to check the control rect to verify that these controls are overlapped.
If this is the case, you just need to re-pos the overlapped controls.
|
|
|
|
|
Are you handling the WM_ERASEBKGND message for the window to reduce flickering?
If you are, try removing it temporarily to see whether it makes a difference.
If you vote me down, my score will only get lower
|
|
|
|
|
WM_ERASEBKGND isn't being used, so that doesn't help...
|
|
|
|
|
Hi,
Could anyone please advise which files in a VS2008 solution that I really don't need to back up as I have limited backup space?
So far, candidates for exclusion are: *.pch, *.obj, *.sbr, *.ncb.
How about *,pdb?
Any others - particularly large files.
Thanks
|
|
|
|
|
You don't need Debug and Release folders.
Other than that the only large file is .ncb for VS2008.
.pch and .pdb will be inside the Debug and Release folders.
.pdb contains symbols and is be used for debugging.
But this would only be needed if you're backing up the .exe as well.
If you're having the source and intend to backup the source as is without worrying about versions, then you can get rid of the Debug and Release folders.
|
|
|
|
|
«_Superman_» wrote: If you're having the source and intend to backup the source as is without worrying about versions, then you can get rid of the Debug and Release folders.
Why are versions important? You can create tags to take care of versions.
|
|
|
|
|
Are we talking about any version control system here?
|
|
|
|
|
Not sure what we're talking about actually...
|
|
|
|
|
See my reply to this same question here[^].
|
|
|
|
|
For simplicity, I periodically backup my development folders using Xcopy with the exclude option. The common part of my exclude list is: (There may be extensions in there specific to some things we do, but it works regardless.)
.aps
.bsc
.cod
.err
.exp
.idb
.ilk
.jbf
.lst
.map
.ncb
.obj
.opt
.pcc
.pch
.pdb
.plg
.res
.rsp
.rtt
.rtb
.sbr
.sup
.stt
.swp
buildlog.htm
mt.dep
.intermediate.manifest
.embed.manifest
\bin\Debug
\bin\Release
\obj\Debug
\obj\Release
|
|
|
|
|
Thanks Joe, thats a useful list.
Thanks also to everyone else who replied also.
|
|
|
|
|
Hi Developers,
I have created a custom control bar for doc & float enable window. The problem i am facing is that, i can't restrict it's min and max size as well as it is not getting paint while i am moving or resize it. I have tried Invalidate() in OnSize() but it doesn't work.
Can anyone help me out.
Thanks.
Amrit Agrawal
Software Developer.
|
|
|
|
|
Have you tried handling the WM_GETMINMAXINFO message for the window?
You can specify min/max sizes such a control can be sized to.
If you vote me down, my score will only get lower
|
|
|
|
|
Is there a way to get the options in a Html.SELECT object (Combo box) without using the IDispatch.
The reason for not using IDispatch is that I am using FireFox which does not have/support/implement IDispatch.
All I can use is IAccessible. Any Suggestions.
|
|
|
|
|
Dear friends,
Please help me to know how to get the list of available active windows port using vc++ at one time itself.
For Example : To get the available com port using Devive Manager
Thanks in Advance
kumar
|
|
|
|
|
|
I run 1 or 2 thread at button click and on second button click I am closing dialog box but I am checking before closing thread to treminate.
pThreadHandle = new HANDLE[nCount] ;
....
....
....
WaitForMultipleObjects(nCount,pThreadHandle,TRUE,INFINITE)
But It goes in infinte lopp and dialog never ends. How it is wating for infinite?
Give me suggestion to do so.
|
|
|
|
|
need to check your thread function, how are you closing/intimating your thread to close? let us know the function code!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|