1. RunDemos patch, for spaces in path name of demos

C.K. et al,

If you want to use RunDemos with paths having spaces in them before I
"officially" fix it, here's how:

>From Wolf's observation about putting pathnames with spaces in QUOTES, I
just put every filename in quotes, and that works on my system for both
pathnames with spaces and without:

1.  search for the 2nd & 3rd occurrence of "jump_to" in "RunDemos.exw" (they
should be in "procedure List_onMouse");

2.  add the following immediately above each of the 2 "jump_to" calls in
that procedure:
-- to allow files with spaces in pathname to work with jump_to:
  fName = "\"" & fName & "\""

That should do it.

Dan Moyer

new topic     » topic index » view message » categorize

2. Re: RunDemos patch, for spaces in path name of demos

I'm trying to make "RunDemos.exw" be a useful "gateway" into Win32Lib
windows programming, so a beginner could just run it, and have everything,
from access to IDE, Tutorial, demos, editing, etc right there.  Just gotta
add some more tweaks & improvements (& fixes)   :)

re: right click not working:

works for me; can you tell what version it is you have? Did you add the
patch in both places?  One's for running the demo, the other's for viewing
it via WordPad.

if so, maybe it's not finding WordPad?
try this for debug purposes:
just above the 2nd patch for jump_to access, right below "if FileExists
then",
change "setText(aStatusBar, "")"
to:
setText(aStatusBar, "got here")

this should be in the section which has in it:
          -- with the program to call:
          "WORDPAD.EXE",

You might have to comment out the line:
  setText(aStatusBar, fName)
just under:
          -- and last, the 'show' parameter:
          SW_SHOWDEFAULT )

and the "got here" will probably just flicker briefly 'cause of other status
bar clearing.

Let me know what you get, & I'll also try to think of what else might also
be making the demo viewing not happen.

Dan Moyer

----- Original Message -----
From: "C. K. Lester" <cklester at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Sunday, June 02, 2002 8:30 PM
Subject: RE: RunDemos patch, for spaces in path name of demos


>
> Good stuff, Dan! Very helpful. I'm actually starting to look into Windows
> programming now that the IDE and Win32Lib are maturing. :)
>
> One problem: right-click doesn't seem to work, though. When I right-click
on
> an item, nothing happens.
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu