What are the special requirements for dialog box resources
used in a form view?
Answers were Sorted based on User's Feedback
Answer / lalit
choose an existing dialog resource, you may need to set these styles by using the Properties page for the dialog box. Styles for a dialog box must include:
WS_CHILD=On
WS_BORDER=Off
WS_VISIBLE=Off
WS_CAPTION=Off
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna akkulu
The user interface for a form view is based on a dialog box
template, which is created as a modeless child window of
your view window. Therefore, you should make sure that your
dialog box does not have a border or a caption. You also
need to make sure that the constructor for your view is
passed the resource ID of the dialog box template it will
be using; it will accept either the integer ID or string
name for the resource.
| Is This Answer Correct ? | 1 Yes | 2 No |
Tell us something about MFC?
Which CPrintInfo member variable must be set for multiple page printouts?
what is the use of CWinApp class?
What is LoadLibrary function returns?
What is stack size in win32 program?
How do I create a dialog box in mfc?
How can i implement the dynamic menus in MFC plz give the code
if i modified data in 1 view how does the other view knows
what is the component of CLR ?
What is model and modeless dialog box ? Give some examples?
What are the special requirements for dialog box resources used in a form view?
What function is called by a document class to notify views that the document has been changed?