Hi
Problem solved.
thanks
ly
IncludeFile("C:\Basic\PureBasic_v5.31\zz\Au3Wrap R7\Au3Wrap R7\Au3Wrap_X.pbi")
AU3_AutoItSetOption("MouseCoordMode",0)
Enumeration
#ID_BT1 = 1001
#ID_BT2
#ID_BT3
EndEnumeration
Global.l hInstance
hInstance = GetModuleHandle_( null )
Global.l hBtn1,hBtn2,hBtn3 ...
Search found 23 matches
- Wed Apr 29, 2015 2:51 pm
- Forum: Windows
- Topic: AutoIt and PureBasic
- Replies: 8
- Views: 6397
- Wed Apr 29, 2015 9:20 am
- Forum: Windows
- Topic: AutoIt and PureBasic
- Replies: 8
- Views: 6397
Re: AutoIt and PureBasic
Hi acreis
I'm checking now AU3_ControlClick and AU3_MouseClick.
AU3_ControlClick does not work.
I don't know why.
thanks
ly
IncludeFile("C:\Basic\PureBasic_v5.31\zz\Au3Wrap R7\Au3Wrap R7\Au3Wrap_X.pbi")
AU3_AutoItSetOption("MouseCoordMode",0)
Enumeration
#ID_BT1 = 1001
#ID_BT2
#ID_BT3 ...
I'm checking now AU3_ControlClick and AU3_MouseClick.
AU3_ControlClick does not work.
I don't know why.
thanks
ly
IncludeFile("C:\Basic\PureBasic_v5.31\zz\Au3Wrap R7\Au3Wrap R7\Au3Wrap_X.pbi")
AU3_AutoItSetOption("MouseCoordMode",0)
Enumeration
#ID_BT1 = 1001
#ID_BT2
#ID_BT3 ...
- Tue Apr 28, 2015 1:23 pm
- Forum: Windows
- Topic: AutoIt and PureBasic
- Replies: 8
- Views: 6397
Re: AutoIt and PureBasic
Hi ts-soft
Thanks.
It works only if I use "IncludeFile "AutoWin_include.pbi"
If I use AutoWin lib in "PureLibraries\UserLibraries it will not work ERROR:
[15:09:29] [COMPILER] Library missing: Misc (needed by 'AutoWin' library).
I assume it is an old lib.
thanks again
ly
Thanks.
It works only if I use "IncludeFile "AutoWin_include.pbi"
If I use AutoWin lib in "PureLibraries\UserLibraries it will not work ERROR:
[15:09:29] [COMPILER] Library missing: Misc (needed by 'AutoWin' library).
I assume it is an old lib.
thanks again
ly
- Tue Apr 28, 2015 12:05 pm
- Forum: Windows
- Topic: AutoIt and PureBasic
- Replies: 8
- Views: 6397
Re: AutoIt and PureBasic
Hi acreis
Thanks
I have copied AutoItX3.dll to the folder that contains the source.
I have tried it and it works.
ly
Thanks
I have copied AutoItX3.dll to the folder that contains the source.
I have tried it and it works.
ly
- Mon Apr 27, 2015 3:08 pm
- Forum: Windows
- Topic: AutoIt and PureBasic
- Replies: 8
- Views: 6397
AutoIt and PureBasic
Hi
I have tried to add 3 AutoItX to PB.
None of them works.(I use PB 5.31)
1 and 2 from http://www.purearea.net/pb/english/index.htm
3. from http://code.google.com/p/au3wrap/
May be they run on older PB versions.
Is there a version that will run under PB 5.31 ?
Thanks
ly
I have tried to add 3 AutoItX to PB.
None of them works.(I use PB 5.31)
1 and 2 from http://www.purearea.net/pb/english/index.htm
3. from http://code.google.com/p/au3wrap/
May be they run on older PB versions.
Is there a version that will run under PB 5.31 ?
Thanks
ly
- Sat Apr 25, 2015 1:13 pm
- Forum: Windows
- Topic: changing main windowcolor using API
- Replies: 18
- Views: 7151
Re: changing main windowcolor using API
Hi again RASHAD
Thanks a lot
I forgot that EnumChild is actually a procedure so it needs (), in FreeBasic you don't need ()...
ly
Thanks a lot
I forgot that EnumChild is actually a procedure so it needs (), in FreeBasic you don't need ()...
ly
- Sat Apr 25, 2015 11:17 am
- Forum: Windows
- Topic: changing main windowcolor using API
- Replies: 18
- Views: 7151
Re: changing main windowcolor using API
There are several advantages to program directly in PureBasic and prevent the direct use of APIs, even if the code is (slightly) bigger and even if we do program for Windows Only.
- The code is much more readable (Think of the potential code maintenance in a few months or years.)
- There is no ...
- The code is much more readable (Think of the potential code maintenance in a few months or years.)
- There is no ...
- Sat Apr 25, 2015 11:03 am
- Forum: Windows
- Topic: changing main windowcolor using API
- Replies: 18
- Views: 7151
Re: changing main windowcolor using API
Hi again
Sorry I did not understand TI-994A note...
Now I'm trying to add ToolTip.
As usual I translate FreeBasic API code to PB.(previously I had translate asm code to FreeBasic)
It does not run !
[ERROR] Invalid memory access. (write error at address 7116392)
Any suggestion ?
Thanks
ly ...
Sorry I did not understand TI-994A note...
Now I'm trying to add ToolTip.
As usual I translate FreeBasic API code to PB.(previously I had translate asm code to FreeBasic)
It does not run !
[ERROR] Invalid memory access. (write error at address 7116392)
Any suggestion ?
Thanks
ly ...
- Sat Apr 25, 2015 7:02 am
- Forum: Windows
- Topic: changing main windowcolor using API
- Replies: 18
- Views: 7151
Re: changing main windowcolor using API
the exe file created with native PB is 22,528 bytes ,compared to native PB API only 13,312 bytes... But would the API code run on OSX or Linux? :wink:
Enough said. :lol:
Hi TI-994A
No API code does not run on Linux.
I have tried on Linux (mint-16) on VirtualBox.
I don't have OSX so I can't ...
Enough said. :lol:
Hi TI-994A
No API code does not run on Linux.
I have tried on Linux (mint-16) on VirtualBox.
I don't have OSX so I can't ...
- Fri Apr 24, 2015 3:28 pm
- Forum: Windows
- Topic: changing main windowcolor using API
- Replies: 18
- Views: 7151
Re: changing main windowcolor using API
Hi RASHAD
Thanks a lot again
ly
Thanks a lot again
ly
- Fri Apr 24, 2015 2:02 pm
- Forum: Windows
- Topic: changing main windowcolor using API
- Replies: 18
- Views: 7151
Re: changing main windowcolor using API
Hi RASHAD
Thanks for your modified code.
I have added a status bar, it appears but does not receive any string message.
I don't know why(same code in FreeBasic works)
thanks
ly
;Declare SetWinColor(hWnd, clr)
Global wc.WNDCLASSEX, hInstance, msg.MSG,b.LOGBRUSH
b\lbStyle = #BS_SOLID
hInstance ...
Thanks for your modified code.
I have added a status bar, it appears but does not receive any string message.
I don't know why(same code in FreeBasic works)
thanks
ly
;Declare SetWinColor(hWnd, clr)
Global wc.WNDCLASSEX, hInstance, msg.MSG,b.LOGBRUSH
b\lbStyle = #BS_SOLID
hInstance ...
- Thu Apr 23, 2015 11:33 am
- Forum: Windows
- Topic: Adding icon to exe
- Replies: 5
- Views: 3658
Re: Adding icon to exe
Hi all
Thanks
Hi ts-soft
I have used your addition code and it works !!!
Thanks
ly
Thanks
Hi ts-soft
I have used your addition code and it works !!!
Thanks
ly
- Thu Apr 23, 2015 10:24 am
- Forum: Windows
- Topic: Adding icon to exe
- Replies: 5
- Views: 3658
Adding icon to exe
Hi
I'm trying to add an icon (*.ico) to exe program.
Compiler Option > use icon.
The exe file have an icon ,but when executing the exe file it does not appear at the upper left window.
Please help.
Thanks
ly
EnableExplicit
Declare SetWinColor(hWnd, clr)
Declare addStringCombo()
Declare xHiWord(a ...
I'm trying to add an icon (*.ico) to exe program.
Compiler Option > use icon.
The exe file have an icon ,but when executing the exe file it does not appear at the upper left window.
Please help.
Thanks
ly
EnableExplicit
Declare SetWinColor(hWnd, clr)
Declare addStringCombo()
Declare xHiWord(a ...
- Wed Apr 22, 2015 9:38 pm
- Forum: Windows
- Topic: Changing windows Title via combobox
- Replies: 1
- Views: 1845
Re: Changing windows Title via combobox
Hi
Problem solved.
EnableExplicit
Declare SetWinColor(hWnd, clr)
Declare addStringCombo()
Declare xHiWord(a.l)
Declare xLoWord(a.l)
Global wc.WNDCLASSEX, hInstance, msg.MSG, hCb, title.s, hue$=Space(6)
; hue$ = Space(8)
hInstance = GetModuleHandle_(#Null)
Enumeration
#Button_1
#Button_2 ...
Problem solved.
EnableExplicit
Declare SetWinColor(hWnd, clr)
Declare addStringCombo()
Declare xHiWord(a.l)
Declare xLoWord(a.l)
Global wc.WNDCLASSEX, hInstance, msg.MSG, hCb, title.s, hue$=Space(6)
; hue$ = Space(8)
hInstance = GetModuleHandle_(#Null)
Enumeration
#Button_1
#Button_2 ...
- Wed Apr 22, 2015 9:03 pm
- Forum: Windows
- Topic: Changing windows Title via combobox
- Replies: 1
- Views: 1845
Changing windows Title via combobox
Hi
Again I'm using native API code for learning purpose.
I'm trying to change Window title by combobox.
instead of a string I get a number (may be string address).
Please help
thanks
ly
EnableExplicit
Declare SetWinColor(hWnd, clr)
Declare addStringCombo()
Declare xHiWord(a.l)
Declare xLoWord(a ...
Again I'm using native API code for learning purpose.
I'm trying to change Window title by combobox.
instead of a string I get a number (may be string address).
Please help
thanks
ly
EnableExplicit
Declare SetWinColor(hWnd, clr)
Declare addStringCombo()
Declare xHiWord(a.l)
Declare xLoWord(a ...