|
You could make a start with your signature.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I will consider that. thanks for pointing it
If u can Dream... U can do it
|
|
|
|
|
u r ->
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
& u r ->
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
How long do you want the string to be?
|
|
|
|
|
One CListCtrl object created with LVS_REPORT style, and added Item to it.
I want to change its style to LVS_SMALLICON,
m_ListCtrlLocalFileList.SetExtendedStyle(LVS_SMALLICON);
But there is no changed in the UI. why?
modified on Wednesday, December 29, 2010 5:20 AM
|
|
|
|
|
LVS_SMALLICON is not an extended style, and so cannot be set by this call; see here[^] for how to change the non-extended window styles.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I want to use the
LVS_ICON, LVS_SMALLICON, LVS_LIST, and LVS_REPORT
But the CListCtrl is created, only I can do is delte this CListCtrl and Create a new one with LVS_ICON, LVS_SMALLICON, LVS_LIST, or LVS_REPORT ? Is there another way to set the Style to LVS_REPORT
?
|
|
|
|
|
try using ModifyStyle. For example to change from report to small icon view call function
like this listctrl.ModifyStyle(LVS_REPORT,LVS_SMALLICON);
If u can Dream... U can do it
|
|
|
|
|
Well. This function is just needed. Thanks.
vote 5
|
|
|
|
|
yu-jian wrote: Is there another way to set the Style to LVS_REPORT
Did you check out the link I gave you? It has the information you need.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I have seen your link. I find the class member function.
thanks.
|
|
|
|
|
Hi guys, i am new to cryptoAPI. I have used public/private keys algorithm in .NET.
But in MFC i need to do the same thing, i need to generate public and private keys and store them
in files.
In cryptoAPI all function uses the handle to keys that's why i am confused how to generate keys,
store in files, and how to use them for encryption and decryption.
some one tell me how can i achieve this...
Thanks in advance
ganesh_IT
|
|
|
|
|
|
Hi Niklas, thanks for your help. In my project i need to encrypt my client's publickey and transfer it to server.
Server decrypt it and match the client's publickey with server's publickey.
But cryptoAPI function uses handle for keys, i don't know how to write public/privatekey in files because in need to transfer keys between client and server.
Thanks in advance
ganesh_IT
|
|
|
|
|
|
Thanks for your help.
CryptoAPI is complicated to understand.
|
|
|
|
|
I try to compile an application ( SDI kind ) , to a fresh installed XP system , but I front with an link error :
LINK : fatal error LNK1104: cannot open file "libcmt.lib"
what I missing ? Can you help me , please ?
|
|
|
|
|
Find the lib file using search and make sure it's in your lib directory or path.
|
|
|
|
|
I do that , and I didn't find it ...
|
|
|
|
|
This[^] seems to suggest the file isn't present by default on a Windows or Windows+Visual system.
|
|
|
|
|
I install CRT static libraries and it work it . Thank you all.
|
|
|
|
|
Hi!
I've migrated a project form VC++ 6.0 to 2010 and find that some dialogs assert when they are created.
It happens inside CDialog::OnInitDialog(), more specifically inside CWnd::ExecuteDlgInit(). A resource
is found with the id that corresponds to the dialog resource, it's loaded, locked and CWnd::ExecuteDlgInit
is called again with a pointer to the resource. This second call to ExecuteDlgInit asserts in this line:
ASSERT(nMsg == LB_ADDSTRING || nMsg == CB_ADDSTRING ||
nMsg == CBEM_INSERTITEM || nMsg == WM_MFC_INITCTRL ||
nMsg == WM_OCC_LOADFROMSTREAM ||
nMsg == WM_OCC_LOADFROMSTREAM_EX ||
nMsg == WM_OCC_LOADFROMSTORAGE ||
nMsg == WM_OCC_LOADFROMSTORAGE_EX ||
nMsg == WM_OCC_INITNEW);
It happens with some of the project's dialogs, not in all of them... I'm at a complete loss.
Any one has dealt with this?
Thanks,
Aritosteles
|
|
|
|
|
Check the value of
nMsg to see what Windows is complaining about. Also make sure that you have done a complete rebuild of your project under the new environment.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Hello folks!
I have a small project in mind which would involve creating virtual files/folders on a client's computer (preferably without needing admin rights too). My first thought was to create a shell extension, however, here[^] MSDN doesn't list anything like virtual folders or files. Then i moved on to creating a File System Minifilter Driver[^], but this seems to be overkill for this purpose only. After some googling i came accross the Installable File System kit[^], but checking it on Microsoft's site i found this:
If you are trying to create virtual files or directories to be viewed through the Windows Shell, the shell extension interfaces may be a better option. Shell extension modules are user-mode DLLs that are registered with the Windows Shell. For more information on these interfaces, please refer to the Platform SDK section of the MSDN Online Library. .
So now i am confused, it suggests to use shell extensions, however, shell extensions doesn't seem to provide this functionality...where did i go wrong? Anyone can give me some pointers, please? Thanks in advance...
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Leela: Fry, you're wasting your life sitting in front of that TV. You need to get out and see the real world.
Fry: But this is HDTV. It's got better resolution than the real world <
>Nothing is free in the universe.<
|
|
|
|