简体   繁体   中英

How to restrict microsoft inkoverlay draw in input controls like (textbox, checkbox)?

I want to restrict InkOverlay drawing in textbox and checkbox, but I need to draw in label. How to achieve this.

If I set

theInkOverlay.AttachMode =InkOverlayAttachMode.Behind; 

It is applying for all the controls. I need to draw above on the label and picture controls.

InkOverlay objects attach to a window, and are either above or below that window. Therefore, your best option is to put two child windows on your dialog/main window, and put your textbox/checkboxes in one window and put the ink overlay on the second window.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM