Search found 143 matches

by ColBoy
Mon Apr 20, 2020 8:44 pm
Forum: Announcement
Topic: PentaGrid for Mac and PC.
Replies: 7
Views: 5004

Re: PentaGrid for Mac and PC.

Excellent, thanks. I also use InnoTools for Windows, but never found a suitable, simple solutions for the Mac.
Cheers.
by ColBoy
Fri Apr 17, 2020 9:49 pm
Forum: Announcement
Topic: PentaGrid for Mac and PC.
Replies: 7
Views: 5004

Re: PentaGrid for Mac and PC.

Hey BlindMan. Cool game. Just wondering how did you create your installer for the Mac. Was looking to do something similar, but can't seem to find anything that's easy and straightforward.

Thanks
by ColBoy
Wed Apr 08, 2020 4:27 pm
Forum: Mac OSX
Topic: Bring Window to the Front
Replies: 4
Views: 2986

Re: Bring Window to the Front

Maybe you need to bring the whole program to front.


#NSApplicationActivateAllWindows = 1 << 0
#NSApplicationActivateIgnoringOtherApps = 1 << 1

currentApplication = CocoaMessage(0, 0, "NSRunningApplication currentApplication")
CocoaMessage(0, currentApplication, "activateWithOptions ...
by ColBoy
Wed Apr 08, 2020 4:26 pm
Forum: Mac OSX
Topic: Bring Window to the Front
Replies: 4
Views: 2986

Re: Bring Window to the Front

Kiffi wrote:StickyWindow() does not work on a Mac?

Greetings ... Peter
Thanks Peter, wasn't even aware of that one. Works well.
by ColBoy
Wed Apr 08, 2020 3:13 pm
Forum: Mac OSX
Topic: Bring Window to the Front
Replies: 4
Views: 2986

Bring Window to the Front

I've written a cross platform application for Windows and Mac. It sits on the system tray and when there is a trigger, a window pops up. On Windows I can force the window to the top, so it is always visible, no matter what application I am working on. For the Mac, I can't seem to find the same ...
by ColBoy
Tue Nov 26, 2019 5:21 pm
Forum: Coding Questions
Topic: Need help with Zebra printer
Replies: 7
Views: 3083

Re: Need help with Zebra printer

Hi Leo

Glad you got something running. My code was written under VB.NET, but the same principals would apply. One of the other things to try is to install a Generic / Text Printer. That way, as long as the printer is set to ZPL mode, what you output should be converted into it's printed equivalent ...
by ColBoy
Tue Nov 26, 2019 3:58 am
Forum: Coding Questions
Topic: Need help with Zebra printer
Replies: 7
Views: 3083

Re: Need help with Zebra printer

Also found this. Printer name shouldn't matter as long as you use the name consistently
Colin

When I installed the printer, I renamed it to "ICS Label Printer". Here's how to change the options to allow pass-through ZPL commands:

Right-click on the "ICS Label Printer" and choose "Properties".
On ...
by ColBoy
Tue Nov 26, 2019 3:45 am
Forum: Coding Questions
Topic: Need help with Zebra printer
Replies: 7
Views: 3083

Re: Need help with Zebra printer

I have done this before on many barcode printers from Symbol, Intermec, Zebra and Sato, all connecting via USB. Many of these have used the regular Windows print driver, but I have also driven them directly using ZPL, EPL, etc. It's been a while. I'll try to dust off some code, to see what was done ...
by ColBoy
Thu May 30, 2019 2:15 am
Forum: Coding Questions
Topic: Making a Window stay on top of all programs.
Replies: 2
Views: 1133

Re: Making a Window stay on top of all programs.

Brilliant. Thanks a lot.
by ColBoy
Thu May 30, 2019 1:12 am
Forum: Coding Questions
Topic: Making a Window stay on top of all programs.
Replies: 2
Views: 1133

Making a Window stay on top of all programs.

I've hunted through the forums, but couldn't find a solution. If I want a Window to remain on top of everything else, how can I do this. This is for Windows. In Delphi, you can set the form to StayOnTop.

Thanks, Colin
by ColBoy
Wed Mar 20, 2019 8:55 pm
Forum: Coding Questions
Topic: Set Fullscreen Programatically
Replies: 7
Views: 1862

Re: Set Fullscreen Programatically

Maybe this can help you:
ShowWindow_(ToolBarID(#ToolBar),#SW_HIDE)
ShowWindow_(StatusBarID(#StatusBar),#SW_HIDE)
; then make a resize to previous stored position and size of window and
ShowWindow_(ToolBarID(#ToolBar),#SW_SHOW)
ShowWindow_(StatusBarID(#StatusBar),#SW_SHOW)
ResizeWindow(#Window ...
by ColBoy
Tue Mar 19, 2019 10:38 pm
Forum: Coding Questions
Topic: Set Fullscreen Programatically
Replies: 7
Views: 1862

Re: Set Fullscreen Programatically

And by full screen I also mean with no title bar, so also turning this off and on again.
Colin
by ColBoy
Tue Mar 19, 2019 6:26 pm
Forum: Coding Questions
Topic: Set Fullscreen Programatically
Replies: 7
Views: 1862

Set Fullscreen Programatically

I'm writing a small utility where I want to allow the user to press a shortcut key combination to expand to full screen with no border and then be able to press the same shortcut to return to the previous mode. I have everything working and can set Maximize and Normal, but I can't see how to hide ...
by ColBoy
Mon Jan 07, 2013 3:32 pm
Forum: Coding Questions
Topic: Problem Reading Text File
Replies: 13
Views: 3059

Re: Problem Reading Text File

I solved half the problem. I was playing with projects for the first time and added the text file to the project, which seems to add the extra lines. Didn't realise as the text file was open and the editor didn't warn me that the contents had changed. Sure enough when I opened the file the next day ...
by ColBoy
Fri Jan 04, 2013 10:10 pm
Forum: Coding Questions
Topic: Problem Reading Text File
Replies: 13
Views: 3059

Re: Problem Reading Text File

Forgot to mention, tested on both 5.0 and 5.1 (R2) Windows 32bit and both show the same problem.