Search found 62 matches

by jaskin
Apr 11, 2024 21:32
Forum: General
Topic: Alternatives to Win32 API IDE's and programming
Replies: 3
Views: 3237

Re: Alternatives to Win32 API IDE's and programming

- VS (C++) has MFC as win32 wrapper. Since the community VS editions (+/- 10 years) this is now also available in free editions. Before the free VS parts that came with the SDK lacked it. I don't have much experience with it. - Delphi has the VCL (and Lazarus a mostly compatible LCL) Note that for ...
by jaskin
Apr 11, 2024 20:24
Forum: General
Topic: Alternatives to Win32 API IDE's and programming
Replies: 3
Views: 3237

Alternatives to Win32 API IDE's and programming

I'm sick and tired of trying to learn how to program with Win32 API. This includes nice IDEs like WinFBE. There has to be a far better and easier way to develop Windows applications without trying to learn and understand Win32 API programming, which IMHO is an abomination. I love using Freebasic and...
by jaskin
Mar 22, 2024 19:09
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

BasicCoder2 wrote: ↑Mar 22, 2024 19:06 @jaskin
You are good to go then with the PlanetSquires Forums to help?
Thanks, I'll have a look.
by jaskin
Mar 22, 2024 18:27
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

@jaskin I rather go to the source and use Win32 API calls directly. It depends on what you are programming and why. I am already programming using WinFBE for computational purposes. The program is many thousand lines long with hundreds of functions. I now just want to add a GUI window with a list o...
by jaskin
Mar 21, 2024 20:40
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

srvaldez wrote: ↑Mar 21, 2024 20:32
jaskin wrote: ↑Mar 21, 2024 18:59 I rather go to the source and use Win32 API calls directly.
then perhaps the examples in Charles Petzold book "Programming Windows" will be of interest https://archive.org/details/programming ... mpanion-cd
Thank you, I will have a look.
by jaskin
Mar 21, 2024 18:59
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

hello jaskin UEZ posted a Winn 11 console here https://www.freebasic.net/forum/viewtopic.php?p=301467#p301467 it might be of interest to you, also see Simple WinAPI GUI dodicat, very nice demo 😁 Very interesting, thanks. I found the examples in Simple WinAP GUI useful but I fail to see the point of...
by jaskin
Mar 21, 2024 2:10
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

The opengl screens are kind of bare bones, they can handle some win32 components. I have not tried scrolling though, maybe sometime. Here are a few: buttons, themes, disable fullscreen, tooltips, fonts. Again, interesting but why bother? Win32 APIs are so much simpler despite their lack of user-fri...
by jaskin
Mar 20, 2024 20:56
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

dodicat wrote: ↑Mar 18, 2024 23:15 You will have to make your own scrolling mechanism for fb screens.
this old code:
Interesting. As discussed on the other thread I started, it's better to use just Win32 APIs to control everything, including the font. Makes it cleaner even though working with Win32 APIs is such a pain, IMHO :-)
by jaskin
Mar 18, 2024 17:19
Forum: General
Topic: screenres with a vertical scroll bar
Replies: 16
Views: 3837

Re: screenres with a vertical scroll bar

I can see what you mean, Although the scroll bar can be displayed, it's of no use after printing say 100 lines. Will have to resort to Win32 API calls only.
by jaskin
Mar 17, 2024 18:39
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 19
Views: 12878

Re: How to color text created by CreateWindowExa

Many thanks to SARG and dodicat. Both are close to what I need. I'll have a bash at them to complete them to my requirements. As per usual there's more than one way to achieve similar goals.
by jaskin
Mar 17, 2024 4:15
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 19
Views: 12878

Re: How to color text created by CreateWindowExa

dodicat wrote: ↑Mar 17, 2024 2:25 Here is UEZ's code with scrolling (via a trackbar)
...
It works but it leaves blank lines at the start, and line spacing too much. I think I can fix that.

You stated you think I could also do this with normal scroll bars by using the position of the scroller. I will try.
by jaskin
Mar 17, 2024 0:27
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 19
Views: 12878

Re: How to color text created by CreateWindowExa

dodicat wrote: ↑Mar 16, 2024 23:59 You can scroll child windows with a trackbar.
Example using wonky buttons coloured by temp bitmaps.
Nice work but I much prefer normal text. Thanks anyway.
by jaskin
Mar 16, 2024 21:27
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 19
Views: 12878

Re: How to color text created by CreateWindowExa

You can try this: ... Although that worked as I said, when I create many more lines that go beyond the scope of the window, I can't scroll down to see the hidden ones. If that's a lot more coding to make it all work then I might have to forget it and just use a Console Window with a limited number ...
by jaskin
Mar 16, 2024 18:53
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 19
Views: 12878

Re: How to color text created by CreateWindowExa

I can help you for richtextbox. I used it in a previous version of fbdebugger to display the code source of debugged programs. Now it's Scintilla component, easier and multi OS. Yes, please use the code I posted above to add the necessary statements using richtextbox to make the two lines have diff...
by jaskin
Mar 15, 2024 20:24
Forum: Windows
Topic: How to color text created by CreateWindowExa
Replies: 19
Views: 12878

Re: How to color text created by CreateWindowExa

I should have looked at your code more carefully. I interpreted a text of 2 lines and in fact it's 2 texts of one line :lol: That's correct. So I can use richtext feature with CreateWindowExa. I just need to find out how it's done. Never easy with Windows controls, until one finds out how to do it ...