| |

VerySource

 Forgot password?
 Register
Search
View: 826|Reply: 1

Focus issues with homemade controls

[Copy link]

2

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-14 20:40:01
| Show all posts |Read mode
When the self-made control gets the focus, the virtual frame (such as the built-in connamd of vb) should draw by itself? How to draw? Use API?
Reply

Use magic Report

0

Threads

11

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-1-26 10:36:01
| Show all posts
Draw with this API:
Declare Function DrawFocusRect Lib "user32" Alias ​​"DrawFocusRect" (ByVal hdc As Long, lpRect As RECT) As Long
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