|
-
Jun 25th, 2011, 05:30 PM
#9
Thread Starter
PowerPoster
Re: [VB6] - test if alt acelerator key was activated
 Originally Posted by LaVolpe
Ugh, ignore above.
If you want to draw underlined characters based on the system setting. It's easier than that:
The DRAWITEMSTRUCTURE you used for custom drawing menus tells you.
Code:
Dim DIS As DRAWITEMSTRUCTURE
Const ODS_NOACCEL As Long = &H100
...
If (DIS.ItemState And ODS_NOACCEL) = 0 Then
' do draw with &
Else
' don't draw with &
End If
...
i'm trying use it... but don't works
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|