Search found 14 matches

by ring0
Oct 09, 2023 10:32
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198685

Re: FLTK-C-1.3.3 for FreeBASIC

My situation (simplified): I have 2 FreeBASIC programs. Program #1 collects data and does some processing and puts the results into named shared memory. Then sends a message (WM_USER) to program #2. Program#2 gets the message, reads the data, does some more processing and presents the results. I am ...
by ring0
Jan 02, 2019 5:01
Forum: Windows
Topic: ChooseFont Dialog subclass
Replies: 0
Views: 1702

ChooseFont Dialog subclass

People are still posting their own GUI and owner drawn widgets but so far I did not see any alternative to the Windows ChooseFont dialog. And one of my pet peeves is the humble LABEL widget. Microsoft does not call this widget a label, instead using the name STATIC, perhaps because you can left and ...
by ring0
Mar 26, 2018 10:43
Forum: Windows
Topic: WTSapi32
Replies: 7
Views: 1858

Re: WTSapi32

Thank you jj2007 and SARG for the info. My initial interest in the WTSapi32.dll was from this link http://codexpert.ro/blog/2013/12/01/listing-processes-part-4-using-remote-desktop-services-api/ which seems to provide a very easy solution. However, I shall explore the methods that you have suggested...
by ring0
Mar 26, 2018 5:14
Forum: Windows
Topic: WTSapi32
Replies: 7
Views: 1858

Re: WTSapi32

Hello TouristTrap,

Thank you for the link. That looks like it will accomplish what I want and so I will give it a try.

Cheers,
ring0
by ring0
Mar 24, 2018 10:50
Forum: Windows
Topic: WTSapi32
Replies: 7
Views: 1858

Re: WTSapi32

Hello Tourist Trap,

Thank you for your offer but I am not looking for a way of making speech under windows.
As far as I know WTSapi = Remote Desktop Services API
It can be used to enumerate processes by name which is what I want to do.

Cheers,
ring0
by ring0
Mar 23, 2018 9:39
Forum: Windows
Topic: WTSapi32
Replies: 7
Views: 1858

WTSapi32

Hi,

Does a FreeBasic include file for WTSapi32 exist and if so where can I get it?

Thanks,
ring0
by ring0
Feb 03, 2018 16:40
Forum: Windows
Topic: ListView custom draw - SOLVED
Replies: 10
Views: 2684

Re: ListView custom draw

OK, just wanted to let everyone know that I have found and solved my problem. SOLUTION: when your ListView control is located on a dialog window - mine is and I did not previously state that - then the process of requesting custom draw notifications becomes a little more convoluted. The following we...
by ring0
Feb 01, 2018 12:51
Forum: Windows
Topic: ListView custom draw - SOLVED
Replies: 10
Views: 2684

Re: ListView custom draw

@jj2007: I do not see that your code is doing anything materially different to mine. Is your entire program in assembler or just this part of it - and why? I used to program in FASM but for windows apps I think a higher level language is more appropriate. @Josep: I think I have seen that example els...
by ring0
Feb 01, 2018 9:34
Forum: Windows
Topic: ListView custom draw - SOLVED
Replies: 10
Views: 2684

Re: ListView custom draw

OK thanks Josep, I shall return CDRF_DODEFAULT but I still have the problem that I never receive CDDS_ITEMPREPAINT or CDDS_SUBITEM - any ideas on that??

ring0
by ring0
Feb 01, 2018 4:37
Forum: Windows
Topic: ListView custom draw - SOLVED
Replies: 10
Views: 2684

ListView custom draw - SOLVED

Hi, I am having trouble with ListView custom draw and I hope some kind soul can review my code and tell me where I have gone wrong. My objective is modest - I only want to set the background colour of particular cells. PROBLEM: I get the message for CDDS_PREPAINT but no other CDDS messages. My guess...
by ring0
Dec 29, 2017 1:24
Forum: Windows
Topic: ChooseColor
Replies: 3
Views: 1074

Re: ChooseColor

Hello St_W,
thank you for your assistance, removing the NULL has stopped the crash!
Cheers,
ring0
by ring0
Dec 28, 2017 22:28
Forum: Windows
Topic: ChooseColor
Replies: 3
Views: 1074

ChooseColor

Hi, I am having some problems with ChooseColor, using FB1.05, win32. I notice in another post dated 2015 ?? that the headers for this are broken. Is that still the case? Should ChooseColor structure definition and ChooseColor function call work OK?? Code below compiles without errors but program cra...
by ring0
May 19, 2013 0:38
Forum: Community Discussion
Topic: link error
Replies: 2
Views: 779

Re: link error

Hummm, so embarassingly simple.
Thankyou counting_pine.
by ring0
May 18, 2013 23:17
Forum: Community Discussion
Topic: link error
Replies: 2
Views: 779

link error

My first attempt to write a class fails to link. Error = "TERM.o:fake:undefined reference to `SERIAL::~SERIAL()" I am using FBide and FB 0.24. #Include once "windows.bi" Type serial Private: comPort As Handle ' handle returned by create file comName As String ' Registry name used...