|
Hi,
Thank you for your reply. I found it difficult to get an answer for such kind question. I hear another one think BCGControlBar is better. But the most feature I want not only for Visual Studio/Outlook/Office 2000/XP style, I also want to give `texture' for my application and make it look and feel outstanding!
I have downloaded evaluation version of two toolkits. It seems Xtreme Toolkit has more samples but lack of documentation, while BCGControlBar is just opposite.
About the price, of course Xtreme Toolkit is cheaper. Maybe because it lacks of Skin Manager .
Rest Regards,
fhchina
|
|
|
|
|
I would advice you to use BCGControlBar. It is very easy to integrate it in the Visual C++ environment and porting application can be done without (many) headaches. About pricing, you get discounts for shareware and freeware applications.
Best regards,
Alexandru Savescu
|
|
|
|
|
Does anyone know of some good code for saving the contents of a View to an image format,
BMP or JPEG would be perfect.
I could do it all manually but I have a feeling something like this has already been tackled before.
cheers
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|
|
Hello Asim
I am in search for similar library. If you had found for your project then can you please send me the suggestion,code idea , library for saving the content on the view to JPEG.
Thanking You.
Leave your mark wherever you go
|
|
|
|
|
Hello everyone !!!
Where can i find nice examples and tutorials about using Office Automation like Excel and Word ???
Regards,
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
Well, there's at least one sample which comes with Visual C++ - look for COMEXCEL.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Hi,
I have written a file packer for a game engine. The packer uses Zip compression (based on the zlib library), and so any packed files can easily be opened with WinZip, EnZip etc. However, I would like to give them better protection. Currently they can be password protected (and the password is encrypted), so people can open the zip file but not extract any of the contents. However, I was wondering if there was any way to make the Zip file unreadable to WinZip etc and only readable to my program.
Any suggestions would be much appreciated.
Many thanks,
KB
|
|
|
|
|
Create an unprotected .zip with dummy name containing all files and zip it again with a password. Users will be able to see one filename in protected .zip.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
or, mangle the data as you write it to the file.
very simple way would be to pick a random DWORD, and xor every 4 bytes with it. This should screw the thing up enough that winzip won't make head or tail of it.
Then, as you read it, xor again with the same number to get back to where you started.
STL is a religeon. Enquiries to Reverend Christian Graus
|
|
|
|
|
Thanks both for your replies - I think I may well try to change the way it writes, as Jon Hulatt suggests. This will obviously mean writing my own packer utility too (I was using WinZip to pack and then my own program only needed to unpack), but that shouldn't be too bad.
Thanks again,
KB
|
|
|
|
|
no need. pack with winzip, just write a quick program that opens your zip file and writes a new mangled one.
STL is a religeon. Enquiries to Reverend Christian Graus
|
|
|
|
|
I added exactly this capability to zziplib some time ago.
|
|
|
|
|
|
EnumFontFamiliesEx gives you NEWTEXTMETRIC for each font. NEWTEXTMETRIC::ntmFlags has flags which may help you determine if font is OpenType or not.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
i am actually a C# programmer, i need to find out the type, but i dont really want to cann enumfontfamiliesex as there is a .net collection to get the fonts, but if i cant get the font type, then i suppose ill have to use this instead to enumerate fonts.
Email: theeclypse@hotmail.com URL: http://www.onyeyiri.co.uk "All programmers are playwrights and all computers are lousy actors."
|
|
|
|
|
I tried EnableMenuItem to disable a menu. It's not working the menu always ramains enabled. Why
|
|
|
|
|
I'm assuming you're using MFC. MFC calls EnableMenuItem for you - you need to provide ON_UPDATE_COMMAND_UI handlers for menu items you want to enable/disable/check/uncheck.
You don't need ON_UPDATE_COMMAND_UI handlers for menu items which stay enabled all the time.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
|
Hi, i'm working with a CListCtrl, i would like that when the user clicks on it, to hide the selection.
I couldn't find a style that could do it for, (there is that option with CListBox), so i did like :
void CBy_City::OnNMClicklsccity(NMHDR *pNMHDR, LRESULT *pResult)
{
POSITION p = m_lscCity.GetFirstSelectedItemPosition();
int Select = m_lscCity.GetNextSelectedItem(p);
m_lscCity.SetItemState(Select,~LVIS_SELECTED,~LVIS_SELECTED);
}
The last two arguments of SetItemState are obvisously wrong, but i don't know how to deny those constants...
Thank you for your time
rui
|
|
|
|
|
One line:
m_lstCity.SetItemState(-1, 0, LVIS_SELECTED);
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Thank you Tomasz,
It works, but it is still possible to see that that item was clecked, is there a way that it never happends?
Thank you once more
rui
|
|
|
|
|
Use LVIS_SELECTED | LVIS_FOCUSED instead of LVIS_SELECTED.
Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
|
|
|
|
|
Well, it is still possible to see that the user tried to select an item, thank you the same.
rui
|
|
|
|
|
Hello,
i wrote an mdi-app with c++/mfc under winnt 4.0. When logging off the current user from winnt, winnt closes all running apps before the login-dialog will be displayed. This works correct for all apps i tested, but when winnt wants to close my app before logging off, the explorer crashes. it seems that the app closes the right way, because no debug-message created by my app is missing in the corresponding debug-file. Where is the difference between closing an app by hand and closing an app automatically by winnt before logging off ? And why can my app cause the explorer to crash ? Please help me, i don't know a way to fix this
Best regards
tabor25
|
|
|
|
|
You might want to try handling the messages WM_QUERYENDSESSION and WM_ENDSESSION . They are sent to all running applications during the shutdown process.
Gary R. Wheeler
|
|
|
|