🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #7752

2 questions: _argv and radio buttons

#7752
From: Synetics Software
Date: Wed, 26 Dec 1990 18:05
19 lines
1439 bytes
M.S. documentation says I can access the command line arguments by
declaring "extern char *_argv[]" (actually it's __argv with 2 underscores,
_argv with 1 underscore is not defined).  When I do this, I get garbage
when I access the array, although __argc seems to be set correctly.
Is there a trick to getting this to work?  I'd prefer to access argv
rather than parsing lpCmdLine which gets passed to WinMain.

My second question has to do with radio buttons: It seems that
when a radiobutton receives focus, either via a mouse click or by
the software setting it explicitly, I get a WM_COMMAND message
indicating the button was selected.  (So when the button is selected
via a mouse click, I process the click twice - once for when it
receives focus and once for the actual click.)  Has anyone else
seen this behavior?  Is it a windows bug or am I doing something
wrong?

Thanks,
Douglas Earl            dae@synetic.UUCP or mixcom!synetic.uucp!dae@uwm.edu
Synetics Software
Technical Details
Message-ID: <136@mixcom.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!wuarchive!uwm.edu!mixcom!ssvvss

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!wuarchive!uwm.edu!mixcom!ssvvss
From: ssvvss@mixcom.UUCP (Synetics Software)
Newsgroups: comp.windows.ms
Subject: 2 questions: _argv and radio buttons
Message-ID: <136@mixcom.UUCP>
Date: 26 Dec 90 18:05:16 GMT
Organization: MIX: Milwaukee Information eXchange (Public access Usenet, Email)
Lines: 19