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: 4010
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

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

Post by Pablo César » Mon Feb 13, 2017 6:08 pm

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: 4010
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Tue Mar 21, 2017 7:13 pm

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: 88
Joined: Fri Feb 10, 2017 4:12 am
Has thanked: 20 times
Been thanked: 2 times

Post by RPC » Tue Mar 21, 2017 7:51 pm

#include "MyWindow.ch"

Hi Pablo
Can you upload MyWindow.ch
thanks

RPC
Posts: 88
Joined: Fri Feb 10, 2017 4:12 am
Has thanked: 20 times
Been thanked: 2 times

Post by RPC » Tue Mar 21, 2017 7:52 pm

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: 4010
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Tue Mar 21, 2017 8:56 pm

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: 4010
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Tue Mar 21, 2017 9:27 pm

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: 1908
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 25 times
Been thanked: 84 times
Contact:

Post by srvet_claudio » Tue Mar 21, 2017 11:29 pm

I do not think so
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
Pablo César
Posts: 4010
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Wed Mar 22, 2017 12:08 am

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: 4010
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 99 times
Been thanked: 159 times

Post by Pablo César » Wed Mar 22, 2017 12:53 pm

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 24 times
 
Screen144.png
Screen144.png (18.32 KiB) Viewed 84 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: 904
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 72 times
Been thanked: 14 times

Post by bpd2000 » Wed Mar 22, 2017 12:58 pm

Thank you Pablo
BPD
HMG Convert Dream into Reality

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest