Solved

WS_EX_CONTEXTHELP in a dialog not working

Posted on 1998-06-15
6
1,183 Views
Last Modified: 2013-11-20
I have a dialog (a DIALOGEX) with the minimizing (WS_MINIMIZEBOX) and
maximizing (WS_MAXIMIZEBOX) enabled, and then it doesn't show the context help box (neither the DS_CONTEXTHELP nor the WS_EX_CONTEXTHELP,
btw. why is there two context help options?). The ? box is shown when I remove the min/max boxes.
Has anyone seen the same problem? What do I do to show my ? box?
0
Comment
Question by:skin
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:Andy_Keys
ID: 1317984
I can't remember where but somwhere in the documentation it state that you cannot have min or max button is you what the "What this" help button ie the "?"
0
 

Expert Comment

by:vivi052098
ID: 1317985
I have tried the same but when u are having minimize and maximize buttons,  the ? button will not just appear in the title bar. I have tried changing the style. The style flags are being modified but the modification is not reflecting in the title bar.. the styles WS_MAXIMIZEBOX, WS_MINIMIZEBOX and WS_EX_CONTEXTHLP are not conflicting.
You have to compromise with maximize and minimize if u want context hlp..  
I think that it is a problem in the position of the ? button.. it maybe displayed there but since the maximize and minimize buttons are taking it's place, it doesn't show..

0
 

Author Comment

by:skin
ID: 1317986
Thanks for the input.  The must be someone out there that has managed to do this successfully.  If someone does find documentation stating that it is not possible that will tell me to stop banging my head against the wall. Thanks.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 1

Expert Comment

by:Andy_Keys
ID: 1317987
See Article ID: Q135787 in the MSDN knowledge base it says

SYMPTOMS

In Windows 95, the WS_EX_CONTEXTHELP extended window style is not compatible with the WS_MINIMIZEBOX or WS_MAXIMIZEBOX styles. The context help icon isn't displayed on the caption as long as one or both of the minimize or maximize boxes is displayed. The same thing happens with dialog boxes using the DS_CONTEXTHELP and the WS_MINIMIZEBOX or WS_MAXIMIZEBOX styles.

Note that the window must have the WS_SYSMENU style.

0
 

Author Comment

by:skin
ID: 1317988
Well that's enough proof for me.  I'll stop banging my head. If you want to mark this Q as answered, I'll give you the points.
Thanks!
0
 
LVL 1

Accepted Solution

by:
Andy_Keys earned 100 total points
ID: 1317989
Thanks ofr the pts. I know what you mean about head banging as I had the same problem !!!?
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ODBC Connection Logging, ADO.NET 6 50
Replacement selected text 2 47
deburging in oracle form 12 76
List out all word 7 224
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: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

759 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

20 Experts available now in Live!

Get 1:1 Help Now