|
nemo wrote:
The MS documentation says 64K is not longer a limitation on 9x
I'd like to see where it says that. Everything in User and GDI on 9x has 16-bit limitations because much of that code is 16-bit code for Win16 compatibility. [Eg, list boxes can't hold more than 32K items, 32K is the max value of a 16-bit signed int; 9x can't handle more than 16K window handles, 16K*4 bytes = 64K bytes, 4 bytes being sizeof(HWND) ]
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0! | RightClick-Encrypt
If my rhyme was a drug, I'd sell it by the gram.
|
|
|
|
|
Can you suggest some software to create a help file for my application? I need my help file to have a look as in the VC++ Help such as Content, Index, Search. This help file should allow me to embed graphics/screen shots. I have looked into htmlhelp, but i am not sure this is the best tool.
Elizabeth
|
|
|
|
|
help workshop
hhc.exe from microsoft
includeh10
|
|
|
|
|
Do you have any preference over the two products WinHelp and HTMLHelp?
Elizabeth
|
|
|
|
|
WinHelp uses RTF or plain-text documents as it's contents.
HTMLHelp, in the other hand, is entirely constructed of web pages. Each page on the help guide is an independent web page. You can use things like Internet-links, style sheets, Java etc etc to aid in your help file creation..
I, for myself, prefer HTML Help for these reasons.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
html help seems to need to input index one by one, but old help can generate all indexes automatically.
includeh10
|
|
|
|
|
Thank you all. HTMLHelp fixs better for us since the files can be used cross platform. We are sharing the help files with both Windows and Web applications.
Elizabeth
|
|
|
|
|
... than normal combo-boxes. Any idea why? And how can I keep this from happening?
I have 3 combo boxes on a tool bar, one of them is owner draw and it looks rather weird...
|
|
|
|
|
|
Yes... MeasureItem allows you to change the size of the items in the associated listbox of the control. My problem is that the editBox (and the combo control itself when not expanded) is actually higher by about 4 pixels.
You can test this in the resource definition, simply check the Ownerdraw for a combo and preview the dialog and it is already bigger. Not the end of the world but it looks weird when you have two combos next to each other. I may have to make them both owner-draw... Great!
|
|
|
|
|
In MeasureItem you can specify not only the height of your items, but also the height of the combo-box itself when the item ID is -1:
if (lpMeasureItemStruct->itemID == (UINT)-1)
lpMeasureItemStruct->itemHeight = 15;
else
lpMeasureItemStruct->itemHeight = 13;
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
|
|
|
|
|
Wow.. I am very grateful... Thanks for posting this! Better later than never!
|
|
|
|
|
which function or command is for removing items from Start menu programmatically?
thanks
includeh10
|
|
|
|
|
Try looking for SHGetSpecialFolderLocation(..., CSIDL_COMMON_STARTMENU, ...) . Once you have access to the folder's IDL, adding to, or deleting from, it is trivial.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
thanks.
this function is COM staff, isn't?
includeh10
|
|
|
|
|
COM staff??
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
i mean if the function uses COM inside
includeh10
|
|
|
|
|
I'm 99% sure it does. In fact, I would be surprised if it didn't.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I have a project in VC++ 6.00 and its connected to Visual Source Safe. Basically I copied this project to another location to create a new project (version) and so add it to different location in vss. The project however is firmly tied to to old vss location and will never disconnect in the first place! How to disconnect this project and add to the vss at another location.
many thanks!
|
|
|
|
|
You must do the painful task of editing the project and workspace files directly.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>
|
|
|
|
|
Change your working directory in source safe and delete the *.vss at your side (not in the server)
Open project from source safe and not by clicking the *.dsw.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
Hi,
I can build my program (atl ) using visual 6.0. But if I try to build with .net2003 I get the following errors. I think it has something to do with the library file settings. Please advise.
HelloHierarchy.obj : error LNK2019: unresolved external symbol "public: class std::vector<class svioitem="" *,class="" std::allocator<class="" *=""> >::iterator __thiscall SvIoMessageItemArray::end(void)" (?end@SvIoMessageItemArray@@QAE?AViterator@?$vector@PAVSvIoItem@@V?$allocator@PAVSvIoItem@@@std@@@std@@XZ) referenced in function "public: virtual enum tagMSGSUCCESS __thiscall HelloPollMessage::Send(class SvIoTopic *,class SvIoHierarchy *)" (?Send@HelloPollMessage@@UAE? AW4tagMSGSUCCESS@@PAVSvIoTopic@@PAVSvIoHierarchy@@
@Z)
ServerBase.lib(IosItem.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall std::basic_string<unsigned short,struct="" std::char_traits<unsigned="" short="">,class std::allocator<unsigned short=""> >::_Tidy(bool)" (__imp_?_Tidy@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@AAEX_N@Z)
|
|
|
|
|
You have some sort of a header file included that declares the function/structure specified in the first error. However, you are not linking against a suitable library. Check your project settings and the function that causes the error (HelloPollMessage::Send ). When you find the missing function, see it's reference for the library to link with.
The second error if of similar sorts, however, it just says that it cannot find the definition of 'basic_string' class. Make sure you are linking against the standard C/C++ library files.
Of course, you could check the VS .Net help files for the new features of ATL version 7 to see if some note there would explain your problem. The final option is to copy the ATL library files from VC++ 6.0 and link against them instead of the version 7 ones.
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
Hi,
Coding my application with Visual C++, when i try to open WORD2000 application from a thread, an error occures.
Please, help me with an example explaining how to manage this problem.
Thanks
|
|
|
|
|
tlemetay wrote:
...an error occures.
And that error would be?
Are you using CreateProcess() , or OLE Automation?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|