Set the size and position of sub-windows in multiple documents

Source: Internet
Author: User

1. How to change the initialization position of the sub-window of multiple documents (with image display: mainly heavy load cchildframe: activateframe (INT ncmdshow ))

Http://hi.baidu.com/pqleo/item/c589e5118cab44101894ecc6 There are also heavy-load cmainframe: precreatewindow (createstruct & CS) (the corresponding framework can be used), and The setwindowpos () and movewindow () functions can be used to set the size of the subwindow. 2. 1. What is the relationship between cjigsawview: precreatewindow and cmainframe: precreatewindow?

2. Why can I set the CS member variables after calling cframewnd: precreatewindow? I tried to put it before and after it, but I felt that the modification was not returned. How can it be effective?

3. The CX and cy of CS correspond to the size of the entire window. What should I do if I want to specify the size of the editing area in the window?

4. MyProgramAll the variables are used as member variables of the cjigsawview class. What should I do if the window size to be set depends on these variables?Answer: http://zhidao.baidu.com/question/89061190.html3. Structure Parameter in cmainframe: precreatewindow (createstruct & CS): reatestructHttp://blog.sina.com.cn/s/blog_7241dd0f0100ta6l.html4,How to maximize the initialization of the Main Window and subwindow in multiple documents
Http://diaryjust.blog.sohu.com/2254946.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.