Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing a View in OnInitialUpdate

Status
Not open for further replies.

PatBcn

Programmer
Jun 5, 2000
3
ES
Hi,

When creating a View, I use the OnInitialUpdate event to display a dialog with some information about the document I am creating and let the user select some parameters. If cancel the dialog I would like to abort the creation of the view, but I don' t know how to do it.
Can someone help me out?

Thanks,
Toni
 
Well, this would be more a hack than a real answer and I don't know if it would work, but try sending a WM_CLOSE message to the window that contains the view. That is, if you don't need that window anymore... [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top