|
Hi,
I've noticed that GetOpenFileName with multi-select enabled returns the list of files with the last one you click at the front of the array. You can even see this in the dialog itself. This is fine if you select multiple files backwards!
E.g. Selecting file "01" and shift-selecting file "05" returns the following:
{"05", "01", "02", "03", "04"}
Is this a feature, a bug, or something I've setup wrong?
Thanks for any help guys,
Simon
|
|
|
|
|
srev wrote:
Is this a feature, a bug, or something I've setup wrong?
That depends on if it matters to what you are doing.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
hi
i appreciated the replys from all .for the message posted on Unregistered dll.
My problem is not that i have a folder which cotains components and now i have to select one by one component and unregister it programmatically.
i have string c"\Program Files\Demo\xyz.dll" this i passed to system() and shell execute it does'nt work at all it is because of the space in "Program Files" but if the path does not have space in folder names it works fine.
jhon
|
|
|
|
|
Please don't abuse the CP forums by posting ads. Click here[^] if you'd like to advertise at CodeProject.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
|
toxcct wrote:
ass hole
Using Abusive Language on Public Forums Definatly Not allowed.
but By The way I use it Some times
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
his post was a far from the aim of the forum....
spam don't have any place here
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Offhand I can't think of a better way ot make sure people don't buy your product.
You didn't even bother to use a clickety !
The tigress is here
|
|
|
|
|
That's really cheap!!! You even did not create a link for the webpage... shame on you!
Don't try it, just do it!
|
|
|
|
|
Dumb Q?
Is there an “Official C++ rules” (perhaps guidelines is better than rules) web site?
Thanks for your time and consideration in this matter.
-------------------------------
|
|
|
|
|
|
stolid_rock
Thanks Much, will take a look at it later.
-------------------------------
|
|
|
|
|
search for "The C++ language" from Bjarne Stroustrup (the C++ Creator)...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
I was sitting at work at the time and was unable to just start searching.
Thanks for the tip…
Then again if I had checked the VC++ FAQs I would have noticed a couple of links there. : :
http://www.codeproject.com/cpp/cppforumfaq.asp[^]
-------------------------------
|
|
|
|
|
sfdougl wrote:
Then again if I had checked the VC++ FAQs I would have noticed a couple of links there. : :
nevermind
but anyway, i give you this tip (big book actually ) because i started learning C++ with it, and i found it so useful that i take sometimes "my bible" to find a tip, or to refresh my mind on some points...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Does anybody know any skeletization algorithm? For example if we had an image with hand on it, by using the skeletization algorithm we can get the skelet lines of hand. So i'm looking for an algorithm, in russian it is "contrary fire" algorithm.
|
|
|
|
|
hello!
the classwizard does show all Control-id's of a dialog by name on register member-variables
-> control-id's listbox. (i guess he reads out of *.rc-file)
i can't selekt all names in one time in the listbox.
i need to put their names in my code, not their id-number.
also to get it out of the *.h-file ist not easy because of self-sorting by visual-studio 6.0.
So how can i get it like this list:
IDC_NAME_EDIT
IDC_BIRTH_EDIT
IDC_COUNT_EDIT
IDC_LEFT_RADIO
IDC_RIGHT_RADIO
....
???
thanks to all!!!!!!!
|
|
|
|
|
I'm a bit confused as to what you are asking. In your code, you can refer to a control simply by using:
GetDlgItem(IDC_NAME_EDIT)->SetWindowText("This is some text in my edit control");
((CButton *) GetDlgItem(IDC_LEFT_RADIO))->SetCheck(BST_CHECKED); It's far easier to use member variables instead rather than a bunch of GetDlgItem() calls.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
hi!
i just need names of controls:
if you open the classwizard on a dialog (strg+W) you can see all the controls you used exactly for this dialog.
it means, the classwizard can read all the controls out of your dialog.
he can read it's name out of the header an rc-file of resource-file.
(if i just open the rc-file or the header-file i would have to mark all control-names such as IDC_MY_EDIT_ONE, IDC_MY_EDIT_TWO one by one, it's a terrible work!!)
after reading he shows all controls by name (and other things) in one list.
exactly such a list i need for my purpose.... you know?
..or a little tool which - after input the dialogs name (IDD_MY_DIALOG) - can read out of rc-file like a text-file....
o.k.? i would be pleased, to get such a possibility....
|
|
|
|
|
Hi!
Is it some way possible that I can run my small program before opening printing preference of my printer.
I mean user right clicks on printer and clicks printing preference. Just as user clicks on printing preference I want to run my prog and then open printing preference.
I want to update some registry keys before printing preference is opened. User can open printing preference from 2 places that is from printers folder or from Application.
In either case I want to run my prog first and then give the control to Printing Preference.
Pls let me know how can this be done
Thanks in advance.
|
|
|
|
|
A bug in CAppBar.I want to built a AppBar just like the TaskBar, but
it always can't work correctly .
A Sample is the Windows TaskBar, it is a real AppBar.
When I set it to "AutoHide" and "Always On Top",it usually disappeared.
No Matter what i do, the bar will never appear again.
Please DownLoad my VC6 Project with bug here [^]
In a word ,I just only need a AppBar ,which could have both "AutoHide" and "Always On Top" styles. I hope it will as the Windows TaskBar.
THX very much!!!
if(anyone.got_any_idea())
{
if(NULL=(anyone.email_me("ghostex@126.com"))) //my email 1
anyone.email_me("orma_charf@hotmail.com"); //my email 2
}
^_^
thx again!
PS:
Never heard CAppBar? Ah, it's a MFC class which can operate the Application ToolBar.
I found a class, including these Shell APIs, and named as "CAppBar"
You can download it from this link: Push Here!!![^]
See also the WINXP SP2 SDK , the SDK Sample is in "Samples\WinUI\Shell\AppBar".The CAppBar is made up of this.
|
|
|
|
|
Please , help me~~~~
i must finish it in the next week.
Give all of you 10,000 miles thanks!
thx thx thx......Ooh, System Halted.
|
|
|
|
|
hi experts!I have created a service which do somethingh like opening a 3rd party software by shellexecutes ....i wanted this service to be start before login screen of windows....Is there any way to do this??????????
please help...
|
|
|
|
|
farhanx wrote:
....i wanted this service to be start before login screen of windows
Usually a WindowsService start before the Windows Login Screen!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
ThatsAlok wrote:
Usually?
<italic>Work hard, Work effectively.
|
|
|
|