Home > Software engineering >  How the program gets a notepad file name and file type on the save as window of the two control wind
How the program gets a notepad file name and file type on the save as window of the two control wind

Time:11-25


As above, the third program how to get to the content of the picture above the red box?
SPY++ not to be identified,

CodePudding user response:

The data content is not fixed two strings?

CodePudding user response:

The
reference 1/f, 7-eleven's reply:
that the data content is not fixed two strings?

Take less than ordinary way, getwindowtext or send WM_GETTEXT message all not line, SPY++ alone can't catch it,

CodePudding user response:

SPY++ see the save as dialog window, and then look at the window of the child window


CodePudding user response:

reference zgl7903 reply: 3/f
SPY++ look at the save as dialog window, and then look at the window of the child window

Is expected before the Windows 7 is available, but not after Windows 7, checked, the two look is what controls should be directly painted, it itself has no window handle, DUI is Microsoft Windows,

CodePudding user response:

CStatic without Notify properties, please do not respond to messages

CodePudding user response:

But also not a window, is CFileDialog

CodePudding user response:

In the header file
# define stc2 0 x0441
# define stc3 0 x0442

CodePudding user response:

Involves many file in a dialog box, can find in the resource file, and, in terms of coding and English coding, coding in Chinese search, to find,

CodePudding user response:

refer to 7th floor schlafenhamster response:

in the header file# define stc2 0 x0441
# define stc3 0 x0442

This is where I see, is fixed

CodePudding user response:

 
/* + +

Copyright (c) 1990-1997, Microsoft Corporation All rights reserved.

The Module Name:

DLGS. H

Abstract:

This module contains the UI dialog header information.

- */


# # ifndef _DLGSH_INCLUDED_
# define _DLGSH_INCLUDED_


//
//Constant Declarations.
//

# define ctlFirst 0 x0400
# define ctlLast 0 x04ff

//
//Push buttons.
//
# define psh1 0 x0400
# define psh2 0 x0401
# define psh3 0 x0402
# define psh4 0 x0403
# define psh5 0 x0404
# define psh6 0 x0405
# define psh7 0 x0406
# define psh8 0 x0407
# define psh9 0 x0408
# define psh10 0 x0409
# define psh11 0 x040a
# define psh12 0 x040b
# define psh13 0 x040c
# define psh14 0 x040d
# define psh15 0 x040e
# define pshHelp psh15
# define psh16 0 x040f

//
//Checkboxes.
//
# define chx1 0 x0410
# define chx2 0 x0411
# define chx3 0 x0412
# define chx4 0 x0413
# define chx5 0 x0414
# define chx6 0 x0415
# define chx7 0 x0416
# define chx8 0 x0417
# define chx9 0 x0418
# define chx10 0 x0419
# define chx11 0 x041a
# define chx12 0 x041b
# define chx13 0 x041c
# define chx14 0 x041d
# define chx15 0 x041e
# define chx16 0 x041f

//
//Radio buttons.
//
# define rad1 0 x0420
# define rad2 0 x0421
# define rad3 0 x0422
# define rad4 0 x0423
# define rad5 0 x0424
# define rad6 0 x0425
# define rad7 0 x0426
# define rad8 0 x0427
# define rad9 0 x0428
# define rad10 0 x0429
# define rad11 0 x042a
# define rad12 0 x042b
# define rad13 0 x042c
# define rad14 0 x042d
# define rad15 0 x042e
# define rad16 0 x042f

//
//Groups, frames, rectangles, and ICONS.
//
# define grp1 0 x0430
# define grp2 0 x0431
# define grp3 0 x0432
# define grp4 0 x0433
# define frm1 0 x0434
# define frm2 0 x0435
# define frm3 0 x0436
# define frm4 0 x0437
# define rct1 0 x0438
# define rct2 0 x0439
# define rct3 0 x043a
# define rct4 0 x043b
# define ico1 0 x043c
# define ico2 0 x043d
# define ico3 0 x043e
# define ico4 0 x043f

//
//the Static text.
//
# define stc1 0 x0440
# define stc2 0 x0441
# define stc3 0 x0442
# define stc4 0 x0443
# define stc5 0 x0444
# define stc6 0 x0445
# define stc7 0 x0446
# define stc8 0 x0447
# define stc9 0 x0448
# define stc10 0 x0449
# define stc11 0 x044a
# define stc12 0 x044b
# define stc13 0 x044c
# define stc14 0 x044d
# define stc15 0 x044e
# define stc16 0 x044f
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related