Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


[Question] how to use Box Editor in VC program

Use programming language to frame editor, I need to know CEDIT

But I do not know the specifics of how to use, and try to use CEDIT categories used in the CREATE VIEW function
But not operating procedures

I wanted to write a programming language character input frame editing, and show the procedure interface

Will master guiding one, two, if so, please write a convenient example of the procedure, I would like to thank everybody

[Question] how to use Box Editor in VC program

VC is not a visual programming interface? You directly control into form, 1976 is not on the list.

[Question] how to use Box Editor in VC program

CEdit : : Create
BOOL Create (DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);

Return Value

Nonzero if initialization is successful; otherwise 0.

Parameters

DwStyle

Specifies the control, 1976 's style. Apply any combination of styles to the control, 1976.

Rect

Specifies the control, 1976 's size and position. Can be CRect object or a RECT structure.

PParentWnd

Specifies the control, 1976 's parent window (usually a CDialog). It must not be NULL.

NID

Specifies the control, 1976 's ID.

Msdn have ah, If we need an example, the installation sites you find examples msdn

[Question] how to use Box Editor in VC program

You look at this code :
[code]
Rk.left = 10;
Rk.right rk.left + = 28;
Rk.top = 10;
Rk.bottom rk.top + = 16;
Etime = new CEdit;
Etime->;Create (WS_VISIBLE|WS_TABSTOP|ES_AUTOHSCROLL|WS_BORDER, rk, this, IDC_EDIT_ETIME);
[/code]



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com