x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

H-Bomb resolution on sig3?

1 2 3 4
thenzero Page Icon Posted 2023-09-08 4:28 AM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
OK I think I figured out how they are setting the screen size (helps to actually open the code in a visual basic editor...haha). HOWEVER, I have no experience with VB and no idea how to....er....build? this code to get the VB file. Also it doesn't seem like the evt3 is the right tool for this because it doesn't support VBW files...so, anybody have any suggestions about what to actually build this in?
 Top of the page
thenzero Page Icon Posted 2023-09-08 4:46 AM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
OK- thanks torch, figured out how to build it. Gonna mess with the resolution now.
 Top of the page
thenzero Page Icon Posted 2023-09-08 5:10 AM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
BOOM! Got it...full screen H-Bomb on the sig3 is now a reality. Thanks for your help torch & stingraze.
 Top of the page
torch Page Icon Posted 2023-09-08 5:19 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,762
Location:
United StatesĀ 
Status:
Congratulations! Nice going
 Top of the page
stingraze Page Icon Posted 2023-09-08 6:22 AM
#
Avatar image of stingraze
Subscribers
H/PC Vanguard

Posts:
3,689
Location:
Japan
Status:
thenzero - 2023-09-08 2:10 PM


BOOM! Got it...full screen H-Bomb on the sig3 is now a reality. Thanks for your help torch & stingraze.

@thenzero

Glad you got it working! Have fun!

-stingraze
 Top of the page
C:Amie Page Icon Posted 2023-09-08 7:43 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,012
Location:
United Kingdom
Status:
Did you manually set the resolution or convert it to maximised?

Add it to the SCL if you want
 Top of the page
torch Page Icon Posted 2023-09-08 9:49 AM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,762
Location:
United StatesĀ 
Status:
Speaking of that, C:Amie. I was meaning to ask you.
Is there a way you can recommend tagging something as a higher res version ? Obviously only if it warrants it.

^Meaning disambiguation only occurs if there is a low res and high res version. I.e. H-Bomb, 24Term, and Softmaker 2010.
 Top of the page
C:Amie Page Icon Posted 2023-09-08 12:20 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,012
Location:
United Kingdom
Status:
Not in the current SCL engine, no.
 Top of the page
thenzero Page Icon Posted 2023-09-08 2:16 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
C:Amie - 2023-09-09 2:43 AM


Did you manually set the resolution or convert it to maximised?

Add it to the SCL if you want


Great question! So the short answer is I have just manually set the resolution.

The longer answer is that it technically is already maximized- the issue is that the main text box is manually set to occupy only a small part of the screen with a large subtraction (you can see the original line down below).

One thing that is super confusing to me is that the form BorderStyle is set to sizable, but on my device it looks more like a fixed tool dialog with only a small X and no max/min buttons and also I can't adjust the size (without using winwatch). Maybe one of you dudes with more VB experience can help me understand what's going on there...

Anyway, I have manually adjusted the line:

main.Height = frmHbomb.Height - 6025


to

main.Height = frmHbomb.Height - 4275


to make it fit the sig3 with the taskbar sharing the screen. If you turned on auto hide it would probably make it look funny.

Happy to add to the SCL but probably could use some more tweaking first.
 Top of the page
C:Amie Page Icon Posted 2023-09-08 2:39 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,012
Location:
United Kingdom
Status:
Feel free to fiddle, we can add it when you are ready.
 Top of the page
thenzero Page Icon Posted 2023-09-08 2:53 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
Thanks. On further reflection the lack of max min button is probably a CE thing, huh? I guess it's just confusing because it has a title bar like a normal windows app, but the title bar looks like a tool dialog.
 Top of the page
C:Amie Page Icon Posted 2023-09-08 7:05 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
18,012
Location:
United Kingdom
Status:
Yes, CE doesn't have a concept of maximise. The canvas is either full screen or floating using the native window manager.
 Top of the page
WinCEDev Page Icon Posted 2023-09-08 8:19 PM
#
Avatar image of WinCEDev
Factorite (Senior)

Posts:
77
Location:
Europe
Status:
I tried to run the application in the emulator and got a "File not found" error. I don't have my Jornada at hand right now, so I couldn't test it, but you should be able to replace these lines:
main.Height = frmHbomb.Height - 6025 main.Width = frmHbomb.Width - 2350

With:
main.Move 0, cbarMain.Height, ScaleWidth, ScaleHeight - cbarMain.Height

That should get it to resize dynamically on startup. It would be better to put this code in Form_Resize, in which case it should also respect the "Hide Taskbar" option.

Windows CE does actually support dialogs with minimize and maximize buttons, but the options in eVB don't seem to be hooked up to anything. You can however set them using SetWindowLong.

H-Bomb looks very useful, I'll definitely try it out later.
 Top of the page
thenzero Page Icon Posted 2023-09-08 10:51 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
<3 Thank you <3

I'll give that a shot.
 Top of the page
thenzero Page Icon Posted 2023-09-08 11:12 PM
#
Avatar image of thenzero
Subscribers
H/PC Elite

Posts:
749
Location:
United States
Status:
That didn't seem to do much. Does it matter that ScaleHeight is set to 2790 and ScaleMode is set to "0 - User" ?
 Top of the page
1 2 3 4
Jump to forum:
Seconds to generate: 0.203 - Cached queries : 72 - Executed queries : 9