main window title

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
franco
Posts: 821
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

main window title

Post by franco »

I would like to change the title of the main window when I am in a different program and that means a different window.
I am trying to display the person in my login program on the main window title bar.
This could work if have a public variable as the main title and could refresh the main window from another window.
Thanks Franco.
All The Best,
Franco
Canada
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: main window title

Post by Pablo César »

From another window/app, you will need to find the handle by the title then you can change the title, size.

Read these index:

viewtopic.php?p=50812#p50812
viewtopic.php?p=50838#p50838
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
franco
Posts: 821
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: main window title

Post by franco »

Thanks for quick response Pablo, I solved problem by resetting title of main window after returning from my signin program.
HMG`s the best..... Franco
All The Best,
Franco
Canada
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: main window title

Post by Pablo César »

Va bene :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply