Hi,
I have designed a windows form(to act as a messagebox) with Label and OK, Cancel buttons. I'm on form1 and call this messagebox form in the closing event. If I debug the showdialog of the messagebox form the custom text is displayed on the Label, however if the application is minimized and when i right click on the application in taskbar and select close window then the messagebox form is poped up however the label doesn't show the custom text.
Please advise.

Thanks

Recommended Answers

All 2 Replies

Hi,

If you want a windows form act like a Messagebox then I think you don't need it to minimize, because you need an action to complete or is there a special reason why it must minimize.

Can you just show ur code....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.