Search found 14 matches
- Mar 28, 2022 21:09
- Forum: Windows
- Topic: move a label with the mouse at runtime
- Replies: 8
- Views: 2442
Re: move a label with the mouse at runtime
I found some time to make a little demo. #define UNICODE #INCLUDE ONCE "windows.bi" #INCLUDE ONCE "Win/commctrl.bi" ' // Forward declarations DECLARE FUNCTION WinMain (BYVAL hInstance AS HINSTANCE, _ BYVAL hPrevInstance AS HINSTANCE, _ BYVAL szCmdLine AS ZSTRING PTR, _ BYVAL nCmd...
- Jul 23, 2021 19:47
- Forum: Windows
- Topic: move a label with the mouse at runtime
- Replies: 8
- Views: 2442
Re: move a label with the mouse at runtime
I hope there aren't more controls showing this weird behavior.
I want to create a script generator that displays the numbers and settings after drawing out.
I'll investigate further with spy ++ when I have the time
I want to create a script generator that displays the numbers and settings after drawing out.
I'll investigate further with spy ++ when I have the time
- Jul 23, 2021 14:43
- Forum: Windows
- Topic: move a label with the mouse at runtime
- Replies: 8
- Views: 2442
Re: move a label with the mouse at runtime
Thx for the example
It will take some puzzling to get it working with afx, but I'll figure it out
It will take some puzzling to get it working with afx, but I'll figure it out
- Jul 20, 2021 11:19
- Forum: Windows
- Topic: move a label with the mouse at runtime
- Replies: 8
- Views: 2442
Re: move a label with the mouse at runtime
I made an example with the problem. There are two controls on the form, only the button can be moved and resized. the label is not movable #define UNICODE #INCLUDE ONCE "Afx/CWindow.inc" USING Afx const ID_BUTTON = 1000 const ID_LABEL = 1001 DECLARE FUNCTION WinMain (BYVAL hInstance AS HIN...
- Jul 19, 2021 19:36
- Forum: Windows
- Topic: move a label with the mouse at runtime
- Replies: 8
- Views: 2442
move a label with the mouse at runtime
how can I move and resize a label on a form with the mouse?
I can do this with a button, but not with a label
I can do this with a button, but not with a label
- Feb 17, 2021 0:13
- Forum: Projects
- Topic: IUP_FB_EDITOR (simple development environment)
- Replies: 175
- Views: 54096
Re: IUP_FB_EDITOR (simple development environment)
Vanya, Very handy simple editor I found a little bug *fbc.exe Dim As String sPath = fdlg_dlg_open_proc(*IupConfigGetVariableStr(TGlobalVariables->hConfigL,TGlobalVariables->szLangid,"optionpathcompilier") , _ !"FILTER =\"*fbc.exe\", FILTERINFO=\"fbc.exe\"") i ...
- Jun 02, 2020 20:59
- Forum: Projects
- Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
- Replies: 979
- Views: 344051
Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V2.1.7 May 31, 2020)
This is also the case if you give the linker full dos short names?PaulSquires wrote: In the majority of cases, it was always the linker that failed during the compiling process.
such as C:\PROGRA~1
- Jan 19, 2019 6:41
- Forum: General
- Topic: enumwindows but different
- Replies: 1
- Views: 803
enumwindows but different
Hi dear people Is it possible to translate the code below? EnumWindows normally requires a callback function. here a lambda function is used so that no separate function is needed for the Callback function '#Include <utility> 'HWnd FindTopWindow(DWORD pid) '{ ' std::pair<HWnd, DWORD> params = { 0, p...
- Sep 21, 2018 21:26
- Forum: Beginners
- Topic: How to detect a mouse event click
- Replies: 1
- Views: 1192
How to detect a mouse event click
I want to create a program where I can use the mouse to click another window and then wait until the window closes to do follow-up actions. Dim vpoint as Point GetCursorPos(@vpoint) Print vpoint.x Print vpoint.y Dim vhandle as HANDLE vhandle=WindowFromPoint(vpoint) Print vhandle With the above code ...
- Feb 24, 2018 15:50
- Forum: Beginners
- Topic: Help with translation
- Replies: 2
- Views: 932
Re: Help with translation
Thanks fxm for the help, I need to get used to the syntax of fb
- Feb 24, 2018 12:06
- Forum: Beginners
- Topic: Help with translation
- Replies: 2
- Views: 932
Help with translation
hi people I am trying to translate this pb code into fb code, its almost working. How do i fix ' error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before '.' in 'Select Case @pNMTV.hdr.idfrom' ? Type TV_HANDLES nNode1 as HANDLE nNode2 as HANDLE nNode3 as HANDLE End Type Dim Shared tvNodes as ...
Re: GUI
I like FireFly Visual Designer http://www.planetsquires.com/protect/fo ... pic=3643.0
Its mutch better then power basic visual designer, they should be ashamed at power basic really.
Its mutch better then power basic visual designer, they should be ashamed at power basic really.
- Feb 22, 2018 18:15
- Forum: Beginners
- Topic: fixed buffer problem
- Replies: 3
- Views: 1055
Re: fixed buffer problem
Thanks fxm, that seems to do it.
- Feb 22, 2018 17:03
- Forum: Beginners
- Topic: fixed buffer problem
- Replies: 3
- Views: 1055
fixed buffer problem
hi people, when I try to create a buffer, I cannot make it variable sized. '-------------------------------------------------------------------------------- Function FORM1_COMMAND1_BN_CLICKED ( _ ControlIndex as Long, _ ' index in Control Array hWndForm as HWnd, _ ' handle of Form hWndControl as HWn...