flat assembler
Message board for the users of flat assembler.

Index > Windows > [solved] how do you "redraw" a DialogBoxParam wind

Author
Thread Post new topic Reply to topic
machinecoder



Joined: 07 Apr 2013
Posts: 27
machinecoder 31 Jul 2013, 12:57
I used DialogBoxParam to create the window instead of "CreateWindowEX" becuase I have been able to get a bitmap on the window with ease.

any examples of progress bars for this type of window ?


Last edited by machinecoder on 18 Aug 2013, 13:28; edited 3 times in total
Post 31 Jul 2013, 12:57
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1657
Location: Toronto, Canada
AsmGuru62 31 Jul 2013, 14:18
You need to perform the installation itself on a different thread.
That other thread must PostMessage() information about the percentage
of task to the main thread (your dialog). In response to that message
the progress bar is set to the value posted with the message.
Also, with multithreaded approach -- user will be able to 'Cancel' the process.
Post 31 Jul 2013, 14:18
View user's profile Send private message Send e-mail Reply with quote
Picnic



Joined: 05 May 2007
Posts: 1396
Location: Piraeus, Greece
Picnic 31 Jul 2013, 22:29
machinecoder wrote:
I used DialogBoxParam to create the window instead of "CreateWindowEX" becuase I have been able to get a bitmap on the window with ease.

any examples of progress bars for this type of window ?


hi machinecoder,

see here

http://board.flatassembler.net/topic.php?t=14567
Post 31 Jul 2013, 22:29
View user's profile Send private message Visit poster's website Reply with quote
machinecoder



Joined: 07 Apr 2013
Posts: 27
machinecoder 01 Aug 2013, 03:42
Remaining Problems:

1. No Icon ?
( dialog MAINDIALOG,'Setup - ',0,0,320,200,WS_CAPTION+WS_VISIBLE+WS_SYSMENU+WS_MINIMIZEBOX+DS_CENTER )
Post 01 Aug 2013, 03:42
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.