Win_Msg - A kind of Notification message so easy and friendly Demo

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Win_Msg - A kind of Notification message so easy and friendly Demo

Post by Pablo César »

Great !

Thank you Claudio ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Win_Msg - A kind of Notification message so easy and friendly Demo

Post by Pablo César »

Improvement in notifier message demo.
 
<Attached file was removed due is a improved version more ahead of this same topic>
 
Thanks to Dr. Claudio whom has left HMG compatible with Harbour's threads functions.

To see the power of hb_Thread ... and HMG together, you click on button and sudly during notifier (small window) is displaying, you can continue iby clicking in the radiogroup simulating running your app, other screens and process without interferations.

So cool. Thank again Dr. Claudio Soto !

Image Image
Last edited by Pablo César on Wed Mar 22, 2017 12:54 pm, edited 2 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: Win_Msg - A kind of Notification message so easy and friendly Demo

Post by RPC »

#include "MyWindow.ch"

Hi Pablo
Can you upload MyWindow.ch
thanks
RPC
Posts: 281
Joined: Fri Feb 10, 2017 4:12 am
DBs Used: DBF

Re: Win_Msg - A kind of Notification message so easy and friendly Demo

Post by RPC »

Pablo César wrote: Tue Mar 21, 2017 7:13 pm Improvement in notifier message demo.
 
Win_Msg.rar
 
Thanks to Dr. Claudio whom has left HMG compatible with Harbour's threads functions.

To see the power of hb_Thread ... and HMG together, you click on button and sudly during notifier (small window) is displaying, you can continue iby clicking in the radiogroup simulating running your app, other screens and process without interferations.

So cool. Thank again Dr. Claudio Soto !

Image Image
Hi Pablo
Getting undefined error msg
can you pls look into it
Thanks
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Win_Msg - A kind of Notification message so easy and friendly Demo

Post by Pablo César »

RPC wrote: Tue Mar 21, 2017 7:51 pm #include "MyWindow.ch"

Hi Pablo
Can you upload MyWindow.ch
thanks
Hi Rajeev, what error are you referring for ?
Is it about missing MyWindow.ch ?

In that case, please, cut off the line where is:

#include "MyWindow.ch"

This it was done in one of my tries to get work. But now this not needed.

But in the last pack (Demo3) is not #include "MyWindow.ch" in the source file.

What are you compiling for this error ? :?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Win_Msg - A kind of Notification message so easy and friendly Demo

Post by Pablo César »

Hola Claudio,

I would like to know if it is possible to reset the tempo of AnimateWindow?

I would like to stop the execution if the user does "ON GOTFOCUS" in the little window.

Just as it is done in others notifiers, so it gives the user time to read it...
Last edited by Pablo César on Tue Mar 21, 2017 11:53 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Win_Msg - A kind of Notification message so easy and friendly Demo

Post by srvet_claudio »

I do not think so
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Win_Msg - A kind of Notification message so easy and friendly Demo

Post by Pablo César »

Probably make an event function, could be posible.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Win_Msg - A kind of Notification message so easy and friendly Demo

Post by Pablo César »

Pablo César wrote: Wed Mar 22, 2017 12:08 am Probably make an event function, could be posible.
The problem I'm encountering is that the window is not activated. It is lost after finishing the exposure. Soon I do not think events would be unavailable.
Is it right Dr. Claudio ?

I changed the GetDesktopWidth()/GetDesktopHeight() functions to GetDesktopRealWidth()/GetDesktopRealHeight().
It got better. :D
 
Win_Msg.rar
Source files - Demo3 (version 1.4)
(2.22 KiB) Downloaded 253 times
 
Screen144.png
Screen144.png (18.32 KiB) Viewed 4602 times
This is well attached to the most bottom and most right side of the desktop.

GetDesktopRealHeight() returns the desktop height minus the height of TaskBar.

I also learned that this small non-registered window, we can not capture thru common way (Alt PrntScrn).
Probably is because is not registered window.

Thank you Claudio for providing us with new features in HMG.

I'm really thankful. :)

P.S.: My tip for capturing screens when it is not possible then use this: %windir%\system32\SnippingTool.exe (Capture tool)
Last edited by Pablo César on Wed Mar 22, 2017 2:09 pm, edited 4 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Win_Msg - A kind of Notification message so easy and friendly Demo

Post by bpd2000 »

Thank you Pablo
BPD
Convert Dream into Reality through HMG
Post Reply