| |

VerySource

 Forgot password?
 Register
Search
Author: ozms123

About caret

[Copy link]

2

Threads

17

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-4-2 15:30:02
| Show all posts
Really weird
I just copied the same program into another program and it worked
strange..............
 GetDlgItem (IDC_EDIT_NAME)-> SetFocus ();
return FALSE;
Just two sentences are in OnInitDialog
Why? Why? Why? Why? Why? Why? Why? Why? Why? Why? Why?
Reply

Use magic Report

2

Threads

17

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-4-2 19:00:02
| Show all posts
It's weird!
OnPaint works!
The setting in OnInitDialog is invalid!
Can the bug explain it?
Reply

Use magic Report

0

Threads

9

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 United States

Post time: 2020-4-3 14:00:01
| Show all posts
After OnIninDialog, OnPaint will be executed. In OnPaint, focus will be arranged in the default tab order.
The easiest way is to arrange the tab order at design time.
Reply

Use magic Report

2

Threads

17

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-4-3 21:30:01
| Show all posts
Which I have already arranged, but the small vertical line does not appear in the first edit box I arranged
So I getDlgItem (IDC_EDIT_NAME)-> SetFocus () in OnIninDialog;
return FALSE; The book is initialized in OnIninDialog!
But it still doesn't show up!
After that, I have copied two sentences into the new dialog program. Good thing !!!
Why is my OnIninDialog bad ???? /
Can you explain why
Reply

Use magic Report

2

Threads

17

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

 Author| Post time: 2020-4-4 19:00:01
| Show all posts
Isn't it my OnIninDialog!
CEdit has not been initialized !? Did not get a sentence and ???
My dialog is attached to a DlgBar
Is it related to this ?!
Just think about it ........................... or explanation!
 Say explain explain explain explain explain explain explain
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-2 12:15:01
| Show all posts
Invalid in OnIninDialog?
attention
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list