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 |
What is the difference between OnInitialUpdate and OnUpdate?
What is the command routing in MFC framework?
What is userdefine Messages in MFC?
What is stack size in win32 program?
What is the initial function to be called in MFC and what it will do
What types of threads are supported by MFC framework?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?
how does conditionally close the Dialog Box ?
What is difference between the TCP/IP and UDP socket
1)How to change a text of a button as Dynamically?