|
In other words, you are an idiot.
Could I have your address ? Seeing as you approve of stealing, I'd like to steal your car.
Christian
come on all you MS suckups, defend your sugar-daddy now. - Chris Losinger - 11/07/2002
|
|
|
|
|
i will suggest the solution...
-----------------------------------------
just call one of ur galfriends..and take the number of hairs on her head..and tell me the exact number...and i will give you the key..!!!
-------------------------------------------------
Renjith-CPian.
|
|
|
|
|
Usually serial numbers come with products
|
|
|
|
|
in OnInitDialog()
in the end of the defenition...
return TRUE;
and here is a commment added by the wizard says...
"return TRUE unless you set the focus to a control
EXCEPTION OCX Property pages return false"
what is the matter behind that??? for why the wizard say that??
what happends when we return TRUE or FALSE ??
Anyone can Explain??
Thankx in Advance....
Renjith-CPian.
|
|
|
|
|
|
ok..but 4 y the activex controls return false??
-----------me too frm TVM
Renjith-CPian.
|
|
|
|
|
Hi,
I have two listcontrols adjacent to each other. When you click on an item in ctrl1, ctrl2 gets populated with specific items. I want the app to start up with item1 in list1 highlighted, and its options in list2 already displayed (In general the options are displayed when you click on an item in list1). ANy hints?
Appreciate it,
ns
|
|
|
|
|
assuming you have a member control m_ListCtrl1 then just do
m_ListCtrl1.SetCurSel( x );
where x is the number of the element in the list you want to select
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
It says SetCurSel is not a member of CListCtrl....
|
|
|
|
|
listCtrl.SetItemState(0, LVIS_SELECTED, LVIS_SELECTED);
Don't forget to set LVIS_SHOWSELALWAYS style.
Tomasz Sowinski -- http://www.shooltz.com
- It's for protection - Protection from what? Zee Germans?
|
|
|
|
|
Thanks. I used the first line, but did not set the style. It worked though. I put the control in from the toolbox, not programmatically. I am thinking of using something like:
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Allow the header controls item to be movable by the user.
pmyListCtrl->SetExtendedStyle
(pmyListCtrl->GetExtendedStyle()|LVS_EX_HEADERDRAGDROP|LVIS_SHOWSELALWAYS)
Is this what I need to do? I wont know because it works already without the style being set.....
BTW, this selecting does not trigger the OnItemChanged function that I thought it might. IS that correct behavior?
Thanks,
ns
|
|
|
|
|
Easier way to modify the style: pmyListCtrl->ModifyStyleEx( 0, LVS_EX_SHOWSELALWAYS );
Yes, it is correct behaviour for the OnItemChanged to not trigger when changed programmatically.
Joel Lucsy (jjlucsy@ameritech.net)
|
|
|
|
|
Appreciate your response> Thanks for showing me how to set the style.
ns
|
|
|
|
|
Hi all,
I have some problems by changing the name of a DLL...
To do that : I go to => Projects | Settings | Link (Tab), and for the Category = General, I change the name of the DLL below the "Output file name:" title. But when I recompile, I find a warning which say:
"SeldesCfgProg.exp : warning LNK4070: /OUT:StdCardCom.dll directive in .EXP differs from output filename "../My DLL/SeldesCfgProg.dll"; ignoring directive"
The name before was "StdCardCom.dll" and now I will "SeldesCfgProg.dll"
With the old name, I don't have any warning...
If somebody has an idea, I would be very grateful to him.
Thanks...
Hello World!!!
from Raphaël
|
|
|
|
|
Maybe do a Clean and Rebuild. Make sure you change the name in the .def file if you use one.
Jason Henderson quasi-homepage articles "Like it or not, I'm right!"
|
|
|
|
|
Make sure you change the first line in the .DEF file from
LIBRARY "OldName"
to
LIBRARY "NewName"
Best regards,
Alexandru Savescu
|
|
|
|
|
A big Thanks for your assistance... really
Hello World!!!
from Raphaël
|
|
|
|
|
Hello,
I've created an iexplorer 'plugin' that works fine, exept that when I open a new instance of the browser, it crashes in MSHTML.DLL (addr 636ac73f). This is not a function called by me.
How can I have more info why this happens ? Is it possible to debug MSHTML.DLL ?
Thanx.
|
|
|
|
|
You should be able to give the browser's executable in the Visual Studio project settings ("Executable for debug session" in the debug tab). Then when you hit run, it'll open explorer. Then get the plugin to start (if it doesn't automatically), and you should be able to debug it as you would any other app
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
That's what i'm doing but it does'nt help. All i get is an access violation and the call stack shows MSHTML!636ac73f called by MSHTML!636ac784 called by MSHTML!63661c70. And nothing else, so I cannot determine which function is called !
Is there another solution ?
|
|
|
|
|
Ahh, so is the access violation happening somewhere outside of your code.
I think you can download the symbols for windows2k from the microsoft site somewhere. Installing those might be able to tell you what is actually happening when the crash happens.
I assume if you put breakpoints in to your code that it crashes before reaching them?
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
You can download symbols from microsoft.com/ddk[^]
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
Hi guys,
I need some help in creating concurrent threads. I am running a TCP Server which accepts the clients, I am calling AfxBeginThread passing the newsocket id to that. I want to run a seperate concurrent thread for each client which is connecting to my server for some file transfer. Can anybody suggest some solution. Any links or references will help me. Thanks.
satya
|
|
|
|
|
|
Why do I get a Debug assertion, when I have some watches concerning my CArray? Isn't that kind useless, when i can kill my program when debugging and adding a wrong "watch-line"?
I don't want achieve immortality through my work - I want achieve it through not dying - Woody Allen
|
|
|
|