Page 3 of 5

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

Posted: Mon Feb 13, 2017 6:08 pm
by Pablo César
Great !

Thank you Claudio ! :D

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

Posted: Tue Mar 21, 2017 7:13 pm
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

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

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

Hi Pablo
Can you upload MyWindow.ch
thanks

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

Posted: Tue Mar 21, 2017 7:52 pm
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

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

Posted: Tue Mar 21, 2017 8:56 pm
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 ? :?

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

Posted: Tue Mar 21, 2017 9:27 pm
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...

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

Posted: Tue Mar 21, 2017 11:29 pm
by srvet_claudio
I do not think so

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

Posted: Wed Mar 22, 2017 12:08 am
by Pablo César
Probably make an event function, could be posible.

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

Posted: Wed Mar 22, 2017 12:53 pm
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 256 times
 
Screen144.png
Screen144.png (18.32 KiB) Viewed 4668 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)

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

Posted: Wed Mar 22, 2017 12:58 pm
by bpd2000
Thank you Pablo