custom border using WM_NCPAINT for textbox on a tranaparent form problem

custom border using WM_NCPAINT for textbox on a tranaparent form problem

Post by Sk » Thu, 16 Sep 2004 18:03:15

n contiuation with the message I find that
g.VisibleClipBounds rectangle returned when the transparency is set is
different than when the form is opaque. the reactangle returned in this case
is equal to the size of the client area.

But i found this little wierd.

Is there any way to increase the visibleClipBounds. graphics methods like
resetClip is not helping.

Any Solution?

"Sk" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...
"+r.Top+","+r.Left+" -"+r.Bottom+","+r.Right);
"+r.Top+","+r.Left+" -"+r.Bottom+","+r.Right);


1. Custom rendering - TextBox value blank if rdl textbox uses an expression

2. Why does Form-A's instance fire Form-B's event??


I have an MDI application. I'm opening 2 instances of the same form,
Form-A and Form-B.

WHen I have these two instances of same form open, it looks like all
the events are shared between Form-A and Form-B.

Eg., I have a button, which on click, changes the tab from Tab-1 to

Since, in this case, both Form-A and Form-B have same buttons, the
button click on Form-A changes Form-B's Tab-1 to Tab-4. Which should
not happen. How can I avoid this?

How is this handled in .NET? Shouldn't the events of Form-A be kept
separate from Form-B's events?

Any help is greatly appreciated.


3. Problem with adding new item using custom form from form server.

4. Problems with custom forms not displaying, (using outlook form ins

5. WM_NCPAINT and custom caption drawing

6. Mini Problem: A custom mail-form create a custom task-form

7. Rollup 1 and Custom Add On's (MS-CRM Word)

8. WM_NCPAINT and custom caption drawing

9. Remove border from form textbox

10. What Is Difference Btween Form.TextBox And Form!TextBox

11. Table Borders Overlapping / Custom Border Sizes

12. Problem formatting the border around a textbox on a report

13. custom border width for page borders

14. using custom paragraph borders to separate items in a long list

15. textboxes in a custom outlook form in vbscript