Re: [fpc-pascal] Basic Windows tutorial

2015-10-24 Thread Marco van de Voort
In our previous episode, Ryan Joseph said: > I?d like to start doing some basic Windows programming to learn but not > use the higher level Lazarus cross-platform library. > > Keeping in mind I know literally nothing about Windows programming, where > is a good place to start? I installed Lazarus

Re: [fpc-pascal] Basic Windows tutorial

2015-10-24 Thread Graeme Geldenhuys
On 2015-10-24 03:36, Ryan Joseph wrote: > Can I route STDOUT (does that exist on Windows?) from writeln to the > message window in Lazarus? That’s pretty typical for development and > I can’t see where it’s going right now. I recommend one of the logging systems available. I use the tiLog unit (a

Re: [fpc-pascal] Basic Windows tutorial

2015-10-23 Thread Mattias Gaertner
On Sat, 24 Oct 2015 09:36:25 +0700 Ryan Joseph wrote: >[...] > I started a project using the “simple application” template which made a > console window I don’t really want. Is there a way to remove that window? I > don’t see any code which is creating it. > > Can I route STDOUT (does that exi

Re: [fpc-pascal] Basic Windows tutorial

2015-10-23 Thread Ryan Joseph
Ok, I did some reading and found out there is an anchoring plugin you can install that makes it one window, which is great. Some questions: I started a project using the “simple application” template which made a console window I don’t really want. Is there a way to remove that window? I don’t

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Sven Barth
Am 23.10.2015 03:36 schrieb "Ryan Joseph" : > > > > On Oct 23, 2015, at 2:03 AM, Sven Barth wrote: > > > > Out of curiosity: in how far aren't you a fan of Lazarus' layout? Many parts can be configured. Especially the code tools that Lazarus provides makes navigating/writing code rather easy. > >

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Ralf Quint
Ryan Joseph wrote: On Oct 23, 2015, at 2:03 AM, Sven Barth wrote: Out of curiosity: in how far aren't you a fan of Lazarus' layout? Many parts can be configured. Especially the code tools that Lazarus provides makes navigating/writing code rather easy. I don’t use the RAD tools so those are

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread leledumbo
> I don’t use the RAD tools so those are in the way but the biggest problem is how everything is broken up into separate windows. Could that be changed? According to my installed Lazarus: yes lazarus-docked.png

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Ryan Joseph
> On Oct 23, 2015, at 2:03 AM, Sven Barth wrote: > > Out of curiosity: in how far aren't you a fan of Lazarus' layout? Many parts > can be configured. Especially the code tools that Lazarus provides makes > navigating/writing code rather easy. I don’t use the RAD tools so those are in the wa

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Sven Barth
On 22.10.2015 15:49, Ryan Joseph wrote: I installed Lazarus which I think is the preferred IDE for FPC (if not are there others?) Yes, MSEide is also very good. Even using a very good text editor like EditPad Pro is very nice. Geany IDE also works well with FPC. Granny IDE looks nice (I’m

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Graeme Geldenhuys
On 2015-10-22 14:49, Ryan Joseph wrote: > Looks pretty straight forward and simple compared to Cocoa on the > Mac. Win32 API is not hard, it is just a lot more effort to write a program using only the Windows API. eg: fpGUI Toolkit also uses the Win32 API to create windows, set border styles, win

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Ryan Joseph
Thanks, there’s a lot for me to go through here. Should keep me busy. :) > On Oct 22, 2015, at 7:45 PM, leledumbo wrote: > >> where is a good place to start? >> Are there are any example projects for this > > http://delphi.about.com/od/windowsshellapi/l/aa111503a.htm, especially > chapter 2 > h

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Ryan Joseph
Thanks Paul. I’ve been using FPC since 2005 now but on the Mac (and UNIX command line) so everything on Windows is new to me. > On Oct 22, 2015, at 8:02 PM, Paul Breneman wrote: > > I have this tutorial started that I'd like to improve (feedback welcome): > http://www.controlpascal.com/tutoria

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Ryan Joseph
> On Oct 22, 2015, at 6:07 PM, Graeme Geldenhuys > wrote: > > On 2015-10-22 05:20, Ryan Joseph wrote: >> Keeping in mind I know literally nothing about Windows programming, >> where is a good place to start? > > Start reading MSDN and study the Win32 API. Looks pretty straight forward and sim

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Paul Breneman
On 10/22/2015 12:20 AM, Ryan Joseph wrote: I’d like to start doing some basic Windows programming to learn but not use the higher level Lazarus cross-platform library. Keeping in mind I know literally nothing about Windows programming, where is a good place to start? I installed Lazarus which

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread leledumbo
> where is a good place to start? > Are there are any example projects for this http://delphi.about.com/od/windowsshellapi/l/aa111503a.htm, especially chapter 2 http://www.angelfire.com/hi5/delphizeus/, seems pretty complete http://www.winprog.org/tutorial/, my reference when I learned win32 API y

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Sven Barth
Am 22.10.2015 09:25 schrieb "Ryan Joseph" : > Keeping in mind I know literally nothing about Windows programming, where is a good place to start? I installed Lazarus which I think is the preferred IDE for FPC (if not are there others?) and I would like to start with making a simple window programma

Re: [fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Graeme Geldenhuys
On 2015-10-22 05:20, Ryan Joseph wrote: > Keeping in mind I know literally nothing about Windows programming, > where is a good place to start? Start reading MSDN and study the Win32 API. > I installed Lazarus which I think is the preferred IDE for FPC (if not are > there others?) Yes, MSEide i

[fpc-pascal] Basic Windows tutorial

2015-10-22 Thread Ryan Joseph
I’d like to start doing some basic Windows programming to learn but not use the higher level Lazarus cross-platform library. Keeping in mind I know literally nothing about Windows programming, where is a good place to start? I installed Lazarus which I think is the preferred IDE for FPC (if not