Search found 338 matches
- Sat Dec 24, 2011 11:51 pm
- Forum: Off Topic
- Topic: Any PB coders looking for work?
- Replies: 7
- Views: 2513
Re: Any PB coders looking for work?
Personally, I think PB is good enough to be more than a hobby language ("BrainFuck" is also a hobby language but what can it do?). Personally I think that the WinAPI makes PB a crucial programming language for any company because the language has a "KISS" philosophy behind it.
- Sat Dec 24, 2011 11:41 pm
- Forum: Off Topic
- Topic: How would you implement this function?
- Replies: 4
- Views: 1602
How would you implement this function?
I would like to know how to implement this function, but not just for windows.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
My dog misses his grandfather very much since he got run over by a truck, and I feel that I will need to bring him back somehow.


http://msdn.microsoft.com/en-us/library ... 85%29.aspx
My dog misses his grandfather very much since he got run over by a truck, and I feel that I will need to bring him back somehow.
- Wed Nov 09, 2011 4:56 pm
- Forum: Coding Questions
- Topic: Owner Draw Trackbars
- Replies: 7
- Views: 2398
Re: Owner Draw Trackbars
Wow RASHAD.. not only did you just post an example, you also used stuff from my previous posts that I would have incorporated anyway...
Keep it going.. I guess the sky's the limit once you get the device context....



- Wed Nov 09, 2011 4:24 pm
- Forum: Coding Questions
- Topic: Owner Draw Trackbars
- Replies: 7
- Views: 2398
Owner Draw Trackbars
The MSDN Documentation says that Owner draw trackbars are possible, yet it the common control trackbar section, I cannot find anything that indicates how to create an owner draw trackbar. May somebody give me a simple code sample
- Sun Nov 06, 2011 6:06 pm
- Forum: Tricks 'n' Tips
- Topic: Circular Buttons Owner Drawn (Very Simple Solution)
- Replies: 11
- Views: 5092
Re: Circular Buttons Owner Drawn (Very Simple Solution)
Yes, but now the buttons are getting clicked anywhere in the rectanglekernadec wrote:update code
to add buttons more easily
good day
- Sun Nov 06, 2011 5:11 am
- Forum: Tricks 'n' Tips
- Topic: Circular Buttons Owner Drawn (Very Simple Solution)
- Replies: 11
- Views: 5092
Re: Circular Buttons Owner Drawn (Very Simple Solution)
With the changes I made the program should close and finish execution properly... I see you are not an Alt-F4 kind of person though 

- Sat Nov 05, 2011 5:56 pm
- Forum: Tricks 'n' Tips
- Topic: Circular Buttons Owner Drawn (Very Simple Solution)
- Replies: 11
- Views: 5092
Re: Circular Buttons Owner Drawn (Very Simple Solution)
michaeled314 ,
i placed the 2 .PNG files in same Directory ,
but i'm getting this ERROR when trying to run your Code ?
LoadImage(0,"playnormal.png")
LoadImage(1,"playpressed.png")
(Line: 27)
DrawAlphaImage(ImageID(0),r\left+GadgetX(0),r\top+GadgetY(0))
[ERROR] The specified #Image is not ...
i placed the 2 .PNG files in same Directory ,
but i'm getting this ERROR when trying to run your Code ?
LoadImage(0,"playnormal.png")
LoadImage(1,"playpressed.png")
(Line: 27)
DrawAlphaImage(ImageID(0),r\left+GadgetX(0),r\top+GadgetY(0))
[ERROR] The specified #Image is not ...
- Sat Nov 05, 2011 3:15 pm
- Forum: Tricks 'n' Tips
- Topic: Circular Buttons Owner Drawn (Very Simple Solution)
- Replies: 11
- Views: 5092
- Fri Nov 04, 2011 11:07 pm
- Forum: Tricks 'n' Tips
- Topic: Circular Buttons Owner Drawn (Very Simple Solution)
- Replies: 11
- Views: 5092
Circular Buttons Owner Drawn (Very Simple Solution)
Put your design in the button where the brush commands are and paint your own design
Pressed : http://www.iconarchive.com/show/play-stop-pause-icons-by-icons-land/Play-Pressed-icon.html - Save in dir as playpressed.png
Normal : http://www.iconarchive.com/show/play-stop-pause-icons-by-icons-land/Play ...
Pressed : http://www.iconarchive.com/show/play-stop-pause-icons-by-icons-land/Play-Pressed-icon.html - Save in dir as playpressed.png
Normal : http://www.iconarchive.com/show/play-stop-pause-icons-by-icons-land/Play ...
- Tue Nov 01, 2011 5:58 pm
- Forum: Coding Questions
- Topic: MCIWndCreate and MCI Windows
- Replies: 6
- Views: 2879
- Mon Oct 31, 2011 4:18 pm
- Forum: Coding Questions
- Topic: MCIWndCreate and MCI Windows
- Replies: 6
- Views: 2879
Re: MCIWndCreate and MCI Windows
Thanks but now I will need to make the trackbar jump to right where you click... This means that I will need the handle of the MCI Trackbar
Incorporating this code
Procedure Callback(hWnd,uMsg,wParam,lParam)
Select uMsg
Case #WM_MOUSEACTIVATE
GetCursorPos_(p.POINT)
ScreenToClient_(WindowID(0 ...
Incorporating this code
Procedure Callback(hWnd,uMsg,wParam,lParam)
Select uMsg
Case #WM_MOUSEACTIVATE
GetCursorPos_(p.POINT)
ScreenToClient_(WindowID(0 ...
- Sun Oct 30, 2011 7:04 am
- Forum: Coding Questions
- Topic: MCIWndCreate and MCI Windows
- Replies: 6
- Views: 2879
Re: MCIWndCreate and MCI Windows
Is it possible to open an MCI Window
- Fri Oct 28, 2011 3:38 pm
- Forum: Coding Questions
- Topic: MCIWndCreate and MCI Windows
- Replies: 6
- Views: 2879
MCIWndCreate and MCI Windows
I am trying to create an MCI window to control playback of a sound file, however I am getting an read address error at memory address 0
#Register_Window = 34230
If OpenLibrary(0,"msvfw32.dll")
*MCIWndCreate = GetFunction(0,"MCIWndCreate")
EndIf
Structure MCIOpenParams
FileName.s
Alias.s ...
#Register_Window = 34230
If OpenLibrary(0,"msvfw32.dll")
*MCIWndCreate = GetFunction(0,"MCIWndCreate")
EndIf
Structure MCIOpenParams
FileName.s
Alias.s ...
- Wed Oct 26, 2011 3:37 pm
- Forum: Coding Questions
- Topic: Movie functions don't work in threads
- Replies: 11
- Views: 3311
Re: Movie functions don't work in threads
Handy little MCI Callback Function
Structure MCIOpenParams
FileName.s
Alias.s
EndStructure
Global MCIMsg.l = 0
Procedure.l MCIOpen(Alias.s, FileName.s)
Error = mciSendString_("open "+Chr(34)+FileName+Chr(34)+" type mpegvideo alias "+Alias,0,0,0)
ProcedureReturn Error
EndProcedure ...
Structure MCIOpenParams
FileName.s
Alias.s
EndStructure
Global MCIMsg.l = 0
Procedure.l MCIOpen(Alias.s, FileName.s)
Error = mciSendString_("open "+Chr(34)+FileName+Chr(34)+" type mpegvideo alias "+Alias,0,0,0)
ProcedureReturn Error
EndProcedure ...
- Tue Oct 25, 2011 3:45 pm
- Forum: Coding Questions
- Topic: Movie functions don't work in threads
- Replies: 11
- Views: 3311
Re: Movie functions don't work in threads
I would like to thank everybody on these MCI threads for supporting me and helping me through this obstacle.... I am now opening the MCI file in a thread and everything is working fine... Before I run the thread I will use the MCI test flag to see if it is the correct file format for MCI... I will ...