Re: [AD] drag and drop win32

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


At 02:43 PM 14/11/2003 -0700, you wrote:
On November 13, 2003 10:52 pm, aj wrote:
> At 07:58 PM 13/11/2003 +0100, you wrote:
> >On Thu, 2003-11-13 at 19:53, AE wrote:
> > > >Its all win32 specific code. that win_proc is the prcedure that
> > > > handles Windows messages. aka: You'll need to learn a ton of win32 :)
> > >
> > > Perhaps the Windows specific section of the Allegro docs should contain
> >
> > some
> >
> > > links to sites with docs about the Win32 API (and ditto for other
> > > platform-specific sections). What about adding a Windows example
> > > program that uses the win_proc hook to add drag and drop, or
> > > scroll-bars to the windows?
> >
> >It would encourage people to actually use it, making their programs
> >non-portable, and is therefore a bad idea. I'd much more like to see
> >examples using wxWindows to achieve things like scrollbars, which then
> >would work in Windows, Linux, OSX, ...
>
> not everyone is interested in multi platforms.
> infact i would say most allegro made apps are not multi-platform.  nor have
> much intention of being multi-platform.
>

Which is sad. Becase there are many people who can not play a windows game. So
that person looses out on many potential users.


there are many that can not use Linux software either.


Me being one. I don't have windows, and can't afford the >$200 pricetag for XP
Pro/Corp.



you dont need Pro/Corp.... and lets not get into the TCO of win vs *nix... i do not know which will end up being cheaper but everything else in this commercial world tells me that bulk market share usually means an overall cheaper price.



With allegro, it is extreamly easy to make a crossplatform game. The
functionality is there, you should use it.



if i was making a game for two platforms, i would have to divide my effort between them, leaving less time to work on the actual game.



anyway,, that is getting off topic.... back on topic.... this drag-n-drop thingy using SetWindowsHookEx() seems to be feasible.
except for that  ACCEPT_FILES  flag.







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/