flat assembler
Message board for the users of flat assembler.
Index
> Windows > more than 1 window in a program ? |
Author |
|
mikeb 22 Mar 2014, 15:13
general question about use of more than 1 window ... the program attached is in masm im afraid but the question is pretty generic .. i produce a couple of rescalable listboxes on the screen and have a limited number of parameters above them .. these are used as criteria to fill the list boxes .. however i might want to use a whole load more parameters so i tried to overlay the window with another window .. ive tried several methods but this sort of came closest all the others ending in c000...5 disaster ... you have to select enter extra parameters box in the second menu line .. the idea being its supposed to throw up a page of edit boxes over the top of the main screen .. if you move the window (a little )it will indeed attempt to show them .. youll then see what a mess it all is ... so the question is how do you put up multiple windows ..parameter boxes etc because THERE ARENT ANY EXAMPLES OF THIS IN ANY TUTORIAL .. everything is limited to single editable screen .. obviously i can use a separate program but then theres the linkage problem with the independant areas and processes ... [ ps i have no idea how to add the componentdll .. resource file etc as the web page keeps telling me no attachment added for a second file .. bizarre !]
_________________ zzzzz |
|||||||||||
22 Mar 2014, 15:13 |
|
mikeb 22 Mar 2014, 15:15
heres the rc data file
_________________ zzzzz |
|||
22 Mar 2014, 15:15 |
|
mikeb 22 Mar 2014, 15:22
junk ...??? lets try again see if it works this time ...
_________________ zzzzz |
|||
22 Mar 2014, 15:22 |
|
mikeb 22 Mar 2014, 15:34
this is not cool at a guess its cos its got exe's in the zip ....
_________________ zzzzz |
|||||||||||
22 Mar 2014, 15:34 |
|
AsmGuru62 22 Mar 2014, 20:56
Maybe Property Sheet Dialog is what you need?
It is a set of single dialogs put into a tab control. |
|||
22 Mar 2014, 20:56 |
|
typedef 24 Mar 2014, 00:33
If you want to have multiple windows I suggest two ways.
1: the easiest way of course is to just create another Window as a child or simply load a dialog. This is the easiest way. 2: Use MDI (Multiple Document Interface), this is where all child windows are created inside their parent window like OllyDbg. The second one requires too many lines of code so I strongly suggest the first one. |
|||
24 Mar 2014, 00:33 |
|
mikeb 29 Mar 2014, 14:35
this is running brilliantly .. i didnt use either .. the window now runs with about 4 panes (separate windows overlayed ) and is very easy to expand to many panes and can be driven either by parameter or using the menu as i did in this case .. the advantage is that i have complete control over whats shown where and when .. plus i can change the backgrounds to complement or augment what im up to .. thanks for the help though as ill try this on something when i get an opportunity .. also ... no one answered my question as to using rejigged masm macros so that i could take my masm progs and "parse" them into fasm format .. ill post this as a separate question maybe .. thanks again though ..
|
|||
29 Mar 2014, 14:35 |
|
mikeb 29 Mar 2014, 14:45
asm guru62 .. i idid try this and liked it very much so thanks for that idea
as its a good one .. its not "arty" enough for my dopey tastes but its looks great on notepad++ which i use and like a lot .. typedef .. thanks this is kind of what i wanted (ps i havent used olly that much as i havent really got a "handle" on what it can do save use the memory viewing aspect and the occasional messagebox display in the prog on the basis that i have to think about whats causing the problem from the programs perspective rather than hack the exe .. this works better for me and seems to make for rapidity in getting the program right and anway the faults are predictable if you kind of know your own faults if that makes sense ) thanks again to both |
|||
29 Mar 2014, 14:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.