Search found 21 matches

by Wilko
Jul 08, 2019 17:56
Forum: Windows
Topic: resource compiler error
Replies: 3
Views: 3578

Re: resource compiler error

Hi, I reported the error and now a new version is available: 1.0.2.1 at http://www.godevtool.com/ResourceFrame.htm. Works fine. Would be good to include this version in the FB release.
by Wilko
Jul 07, 2019 19:23
Forum: Windows
Topic: resource compiler error
Replies: 3
Views: 3578

Re: resource compiler error

Thanks for your help. I downloaded the new GoRC (1.0.2) but that one gave the same error. I tried to split the resource files, create .obj files from each and then compile but that did not work; only the files from one resource file were available. Anyone knows of there are other resource compilers ...
by Wilko
Jul 02, 2019 20:56
Forum: Windows
Topic: resource compiler error
Replies: 3
Views: 3578

resource compiler error

Hi, I guess this problem is Windows-specific, that's why I am posting here. I added a line to my resource file and now it will not compile anymore (using WinFBE). Compiling from command line gives this error: Very sorry, but GoRC had a problem. Could you please report it to JG@JGnet.co.uk sending an...
by Wilko
Feb 27, 2019 12:52
Forum: Windows
Topic: Scrollable interior
Replies: 26
Views: 5118

Re: Scrollable interior

Dear albert, I suggest that you use the codes of the messages, not the numbers. That makes your code so much easier to understand when you later get back... They are defined in winuser.bi.
by Wilko
Jul 04, 2018 12:46
Forum: Windows
Topic: Warning SetTimer
Replies: 2
Views: 508

Re: Warning SetTimer

Thanks, of course, I had declared it as HWND. I thought the problem was in the TimerProc and could not think of anything else...
by Wilko
Jul 04, 2018 11:53
Forum: Windows
Topic: Warning SetTimer
Replies: 2
Views: 508

Warning SetTimer

Hi, in a program I use the Windows timer. Everything works fine, I just get a compiler warning that I do not understand. So apparently I am doing something wrong. I start the timer using: hMyTimer = SetTimer(hWndMainForm, IDMyTimer, 100, cast(TIMERPROC, @My_TimerProc)) and the procedure starts as fo...
by Wilko
May 21, 2017 18:24
Forum: Windows
Topic: Correct use of _beginthreadex?
Replies: 4
Views: 918

Re: Correct use of _beginthreadex?

Thanks a lot; now it compiles without warnings. And it still works ;-)
Wilko
by Wilko
May 21, 2017 15:22
Forum: Windows
Topic: Correct use of _beginthreadex?
Replies: 4
Views: 918

Re: Correct use of _beginthreadex?

Thanks. It's not that I doubt the warnings are correct; sure they are. I just do not know how to change my code to avoid the warnings. If I change the Sub into a Function, the warnings are the same. So I would appreciate tips how to change the code in order to avoid the warnings.
Thanks,
Wilko
by Wilko
May 21, 2017 14:02
Forum: Windows
Topic: Correct use of _beginthreadex?
Replies: 4
Views: 918

Correct use of _beginthreadex?

Hi, I have been struggling with threads but got it working now. The only problem is two compiler warnings in one line... The line of code is hThr = _beginthreadex(NULL, 0, @HandleUpdates, NULL, 0, NULL) HandleUpdates is a SUB, not a FUNCTION. It gives these warnings: warning 3(1): Passing different ...
by Wilko
Nov 19, 2016 21:03
Forum: Beginners
Topic: Create TreeView (Windows)
Replies: 11
Views: 1515

Re: Create TreeView (Windows)

O, of course, how stupid. Thanks a million, Paul. It works now...
by Wilko
Nov 19, 2016 17:53
Forum: Beginners
Topic: Create TreeView (Windows)
Replies: 11
Views: 1515

Re: Create TreeView (Windows)

The code is too big to post completely. Therefore, I created a project starting from scratch, which has the same problem. Here is the code: #DEFINE UNICODE #INCLUDE ONCE "windows.bi" #INCLUDE ONCE "win\commctrl.bi" COMMON SHARED hWndMainForm AS HWND DECLARE FUNCTION CreateTreeVie...
by Wilko
Nov 19, 2016 17:14
Forum: Beginners
Topic: Create TreeView (Windows)
Replies: 11
Views: 1515

Re: Create TreeView (Windows)

Please note: the code snippets you are providing are useless (out of context). Can't help without full source ... OK, again: DIM ICCX AS INITCOMMONCONTROLSEX 'init common controls that are used ICCX.dwSize = SIZEOF(INITCOMMONCONTROLSEX) ICCX.dwICC = ICC_TREEVIEW_CLASSES InitCommonControlsEx(@ICCX) ...
by Wilko
Nov 19, 2016 16:36
Forum: Beginners
Topic: Create TreeView (Windows)
Replies: 11
Views: 1515

Re: Create TreeView (Windows)

That's what I had, yes, thanks. When I change the order, I get compilation errors in prsht.bi error 58: Illegal specification, at parameter 1 (hWnd) of SNDMSG() in 'declare function SNDMSG alias "SendMessageW"(byval hWnd as HWND, byval Msg as UINT, byval wParam as WPARAM, byval lParam as L...
by Wilko
Nov 19, 2016 15:41
Forum: Beginners
Topic: Create TreeView (Windows)
Replies: 11
Views: 1515

Re: Create TreeView (Windows)

Thanks, but that does not really solve my problem: why does the CreateWindow-call fail? If I replace WC_TREEVIEW by LISTBOX (and leave out the specials TVS_styles), it does work.
by Wilko
Nov 19, 2016 13:13
Forum: Beginners
Topic: Create TreeView (Windows)
Replies: 11
Views: 1515

Create TreeView (Windows)

Hi, I want to create a TreeView but the code I made fails. What I did is add: #INCLUDE ONCE "win\commctrl.bi" and also DIM ICC AS INITCOMMONCONTROLSEX 'init common controls that are used ICC.dwSize = SIZEOF(INITCOMMONCONTROLSEX) ICC.dwICC = ICC_TREEVIEW_CLASSES OR ICC_WIN95_CLASSES InitCom...

Go to advanced search