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!

Strange (unwanted) Onfocus/Ondraw feature

Status
Not open for further replies.

MvanH

Technical User
May 15, 2001
19
NL
Hello people.

I have a very strange feature embedded into my program. And I can't seem to get it out. (as with most features its pretty damm unwanted.)

When my program is started (a multiple splitter window with dailogboxes containing buttons and a view on a txt document)

everything works correct.
But as soon as I give focus (click on) the dialog box in the splitter few, A function executes.
This functions also executes 2!! times when I maximize the window after i have minimized it.

Somehow this damm function executes without me pressing the corresponding button.
I tried to change the name of the On_Button_down function.
But that didn't work.
There is NO link in my program to that damm function other than the on_button_down in the dialogview.

does anybody have any ideas how I could find the error, or how I could solve it/work around it?

Any help is welkom at this point!

thanks .. martini..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top