Search found 18 matches

by spartacus13012
Aug 09, 2017 22:16
Forum: Sources, Examples, Tips and Tricks
Topic: Image=ImageScale(SrcImage,width,height) (8,15,16,24,32 bpp)
Replies: 17
Views: 9056

Re: Image=ImageScale(SrcImage,width,height) (8,15,16,24,32 bpp)

Tourist Trap wrote:
spartacus13012 wrote:Hello from france
Hello compatriote. Have you tried to change every occurences of integer with long? Not sure if it can change anything. I still have a 32bits machine so I can not test your crash.
Thanks I will try in a few days
by spartacus13012
Aug 08, 2017 19:18
Forum: Sources, Examples, Tips and Tricks
Topic: Image=ImageScale(SrcImage,width,height) (8,15,16,24,32 bpp)
Replies: 17
Views: 9056

Re: Image=ImageScale(SrcImage,width,height) (8,15,16,24,32 bpp)

Hello from france Since the release of version 1.05.00 of FB I use it in 64bits. I just tried 'ImageScale' and it crashes in 64 On the other hand it works perfectly in 32 I use fbimage to load 'PNG' which works as well in 32 and 64. An idea of the problem my code #include once "fbgfx.bi" #...
by spartacus13012
Jun 28, 2017 7:14
Forum: Windows
Topic: Display Icons in ressources on TOOLBAR
Replies: 2
Views: 1523

Re: Display Icons in ressources on TOOLBAR

Thank you very much I'll see how it works Salut Spartacus, You may try the following... Just set the LoadImage() function to reflect what is in your resource... Pierre http://codesite.host22.com/image/Toolbar01.png #Define JumpCompiler "<D:\Free\64\fbc.exe>" #Define JumpCompilerCmd "<...
by spartacus13012
Jun 26, 2017 20:28
Forum: Windows
Topic: Display Icons in ressources on TOOLBAR
Replies: 2
Views: 1523

Display Icons in ressources on TOOLBAR

Hello from france I created a "toolbar" by the following code hToolBar = CreateWindowEx(WS_EX_TOOLWINDOW OR WS_EX_CLIENTEDGE, _ TOOLBARCLASSNAME, "", _ WS_CHILD OR WS_VISIBLE, _ 0, 0, 0, 0, SYSTEM_HWnd_Window_Main, _ null, null, null) ........... I used the standard icons STD_FIL...
by spartacus13012
May 16, 2017 9:31
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198021

Re: FLTK C for FreeBASIC Jan 09, 2017

Is it possible to interface "SCINTILLA EDITOR" by the "FLTK" library. Sure but I don't support it. You have to retrieve the handle from FLTK parent window with Fl_XID(win) include windows.bi for CreateWindowEX(hParent, "Scintilla", WS_CHILD ...) than you have to hijack...
by spartacus13012
May 14, 2017 14:41
Forum: Libraries & Headers
Topic: FLTK-C-1.3.3 for FreeBASIC
Replies: 433
Views: 198021

Re: FLTK C for FreeBASIC Jan 09, 2017

Hello from france, I have somme question. Is it possible to interface "SCINTILLA EDITOR" by the "FLTK" library. For creates a scintilla editing zone is it OK with FL_WINDOW instead of createwindowex? And after how we must treat the events (notifycations) of "SCINTILLA",...
by spartacus13012
Sep 03, 2015 8:23
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 242021

Re: FbEdit

I'm the one who created the tutorial at freebasic-portal.de. I found this thread because I wanted to know if there's anyone interested in it and it was mentioned. I work with FBEdit version 1.0.7.6c, which is the last one compiled at freebasic-portal.de . If there's actually a need, then I can tran...
by spartacus13012
Aug 27, 2015 21:29
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 242021

Re: FbEdit

Greeting of France, I have use the code which St_W has me deal, and it works perfectly. Now I have a problem in my code which consists in changing the back color of identical all words has selection. When I change back color by the message EM_SETCHARFORMAT with a variable of type CHARFORMAT2, the se...
by spartacus13012
Aug 17, 2015 20:51
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 242021

Re: FbEdit

[..] I ended up making that I wanted: one which opens as ' encodes snipplets ' and which shows every ' TODO: contained in a file. Now I would like to see the functioning of an addin which would intercept evenements keyboard and mouse in editeur of text of fbedit. A generous ame would have it deja h...
by spartacus13012
Aug 16, 2015 18:57
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 242021

Re: FbEdit

Greeting of France, I do not know if I am on good subject, but since I said it in a post precedent, I wanted to make out a will and ecrire an addin. I ended up making that I wanted: one which opens as ' encodes snipplets ' and which shows every ' TODO: contained in a file. Now I would like to see th...
by spartacus13012
Jul 23, 2015 14:42
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 242021

Re: FbEdit

Greeting of France,

I would like to develop an addin for FBedit, is what there is a material or a tutorial.

thank you in advance
by spartacus13012
Mar 07, 2015 21:19
Forum: Windows
Topic: Control disappearance after SetWindowLong
Replies: 2
Views: 1685

Re: Control disappearance after SetWindowLong

Thank you for your help the final code is as follows and it works perfectly Function WndProc_edt1(ByVal hWnd As HWND, _ ByVal message As UINT, _ ByVal wParam As WPARAM, _ ByVal lParam As LPARAM) As LRESULT Function = 0 CallWindowProc(CAST(ANY PTR, b_oldProc), hwnd, message, wparam, lparam) Function ...
by spartacus13012
Mar 05, 2015 15:13
Forum: Windows
Topic: Control disappearance after SetWindowLong
Replies: 2
Views: 1685

Control disappearance after SetWindowLong

Hello, To test the 'SetWindowLong' to classify a sub control 'edit', I used a code page of the site: http://www.freebasic.net/forum/viewtopic.php?t=13451: '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' #Include "windows.bi" ''''''''''''''''''''''''''''''''''...
by spartacus13012
Feb 02, 2015 20:11
Forum: Windows
Topic: create a BS_COMMANDLINK button
Replies: 3
Views: 2023

Re: create a BS_COMMANDLINK button

Thanks for the tip, i will use it immediately.

I tried and it works perfectly. My problem is no rule, thanks again for the help.
by spartacus13012
Jan 31, 2015 17:54
Forum: Windows
Topic: create a BS_COMMANDLINK button
Replies: 3
Views: 2023

create a BS_COMMANDLINK button

Hello I have a little problem with creating a somewhat unusual button , "BS_COMMANDLINK". I get very well create a normal button by a "CreateWindowEx". I'm looking for a tip in freebasic. Note that my PC is on WIN8.1. I have recovered the SDK for microsoft to have the "#defi...