Very happy to hear this from my Coding Style Guru.esgici wrote:Hi Sudip
Good sample, clean and easy to understanding code![]()
![Smile :)](./images/smilies/icon_e_smile.gif)
Regards.
Sudip
Moderator: Rathinagiri
Very happy to hear this from my Coding Style Guru.esgici wrote:Hi Sudip
Good sample, clean and easy to understanding code![]()
LOOP and LOOP() have different implementation. Important point is : what happening in Loop() / ProcessBody() ?CCH4CLIPPER wrote:Renamed to ProcessBody() but still same result
Probably you have another loop in Loop() or anywhere else and this loop doesn't have DO EVENTS statement.Task bar shows 100 % CPU usage but the app is definitely running
Sorry, this is my mistake by hastiness, it was BeginI don't see BREAK in the pasted codes
in the pasted codes
Or, if there isn't any inconvenience send your code to my private e-mail.BE wrote:your code have many unknown things for me.
If possible, please send a problem concentrated code.
In this case definition of progress bar must be out of this window ( that is window of ON INIT )mistake of including in ON INIT a function which had references to the Progress Bar before it was created.
For any code BEFORE defining Main Form must don't include any GUI control.I moved all these codes to before DEFINE WINDOW MainForm and the problem went away.
Thank you very much.esgici wrote:- The message functions ( MsgXXXX() ) are only exceptions of this rule, as explained in one of HMG Help topics .
- Since the message functions are special cases, there isn't any way to add another control such as Progress Bar. A messages window with such control may be only an user defined form or control and so must depend to main form ( by a direct or indirect way )
I had don't know ( and anyone has don't warn me up to nowsudip wrote: IMHO, like Msgxxx functions there is at least another function GetFile(), which can be used before Main window definition.
May be. If we know what are Native Win32 Common Dialog Windows in HMG ?So, can we say Native Win32 Common Dialog Windows can be used before main window definition?
Your "first simple tutorial" is excellent!!! (CCH already placed it in his blog!!!)esgici wrote:Hi Sudip
I had don't know ( and anyone has don't warn me up to nowsudip wrote: IMHO, like Msgxxx functions there is at least another function GetFile(), which can be used before Main window definition.), tried and verified; thank you very much.
![]()
I have correct my very first simple tutorial !
May be. If we know what are Native Win32 Common Dialog Windows in HMG ?So, can we say Native Win32 Common Dialog Windows can be used before main window definition?
My idea is a little different : who teach me anything, he/she is my teacher !sudip wrote: I regard you and Rathi as my "teachers" in my HMG learning journeyI learned (and shall learn) many things from you.
Sorry, I have a fault in this sentence: please extract the word "only"esgici wrote:
- The message functions ( MsgXXXX() ) are only exceptions of this rule, as explained in one of HMG Help topics .