|
Do you want to display a url on the dialog box or you want it has its characteristic?
|
|
|
|
|
Hi All,
I am using customize ListBox control in which I am adding JPEG images in ListBox. In this case there are 5 checkBox on dialog box and I want whenever user click on any CheckBox then imgage related to that check box will load and if user click on more than one check box then images related to that check box should be add in ListBox. I can display image in ListBox whenever user click on any checkBox it. But when he/she click on other checkBox then previous images gets disappear and new image placed at first position on listBox. So how can we solve this probelm. if any body have any solution then plz forward it.
Thanks in Advance
Atul
|
|
|
|
|
How are you responding to the LBN_SELCHANGE notification?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I am using the VC2005 Setup project to make the install.exe for my project. And I am using the following things for the Unistall.exe
I am using Shortcut with Following command line
Installer.msi /x GUID
GUID i m taking by right clicking on the Installer.
But the Problem is that it simply show me the dialog box about how to use the Commnad line argument with the Installer.msi
If u know what is the problem please help.
Thnx in Advance
|
|
|
|
|
well, usually (if I well remembering) I uninstall my applications simply using the /u option.
Russell
|
|
|
|
|
Hi,
I use the thing u told me but it also show me the same message.Following is the full path I am using in Shortcut.
"D:\Gaurang\installer.msi" /u
And when I use the Below code it tell me that packag doesn't exist. but the application is installed
"D:\Gaurang\installer.msi" /uninstall
-- modified at 6:17 Wednesday 12th September, 2007
|
|
|
|
|
D:\Gaurang\SetUp.exe /u or /uninstall
where D:\Gaurang contains also installer.msi
Russell
|
|
|
|
|
I tried the Same thing you told me.But still I got the Error. Error is different then previous one. It is as follows
An Error Occure attempting to install installer.exe
|
|
|
|
|
I tryed this way only on XP.
I hope that this isn't a problem related to the OS.
Elseway try on XP if the procedure is correct and then ask somewhere how solve this bug with Vista.
good luck;)
Russell
|
|
|
|
|
No I am not using vista. I am using Win2000.
I used the Following command line in Shortcut and it works.
msiexec /x "D:\Gaurang\installer.msi"
But don't know how to put this shortcut in the Setup project.
|
|
|
|
|
in my vc++ 6.0 project, i want to know the list of activex controls used.
is it possible.kindly raise your views on this point.
why i wanted this?
long ago(1.5 years) i developed one project and used some activex controls in that.
now i have opened that project in some other system and i am getting the error regarding the missing activex controls.
i can trace them back if i can know the list of activex controls i have used.
thanks in advance.
|
|
|
|
|
Open the .rc file of your project in any text editor ex notepad.
search for some key similar to "{########-####-####-####-############}" where # is 0-9 or A-Z
Open Registry using Regedit and Search this key in your registry.
If this key does not exist, then this is the com component that is missing.
You can search the component on your old machine using same technique.
|
|
|
|
|
thanks for your reply.
the idea of searching for the components using classid is appreaciable.
but i was looking if somewhere the classnames(activex control names) are specified in the project.
because even in my old machine they maynot be registered.
kindly look into this.
thank you.
|
|
|
|
|
You can check the wrapper class for each ocx control. Sometimes it may help you find out which control does it point to.
|
|
|
|
|
First create the dialog box.On the dialog box create the edit box and create the group box,on the group box keep the unlimited radio buttons and create the buttons inforent of each radio button.
create 3 buttons on the dialog box of which
1=assign button
2=ok button
3=cancle button
First user should use assign button and after than cursor should move on edit box.Whatever you write on edit box each should go to respective radio buttons.If it is allready assign numbers are there,they should reflect on the radio buttons.
When the users work is complete the cursor should come on ok button.Agian it goes to cancel button.
|
|
|
|
|
Doing your homework I see. Do you have a specific question or do you want to pay me to do your homework for you? My going rate is $100 an hour, and your homework is a tough one. I reckon I could do it in about 10 hours.
BTW. What does your post have to do with your title?
Waldermort
|
|
|
|
|
WalderMort wrote: Doing your homework I see.
If this is indeed homework, the instructor's English is as bad as, or worse than, the student's.
Alas, he's from India, too. The pattern continues.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
English please.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.
|
|
|
|
|
|
Hi,
how to display URL in MFC?i want coding of url please send
|
|
|
|
|
Why don't you ask this question again so that we may see it a fourth time?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi to all,
I'm having trouble with CListCtrl. When I click on list it works only if I click on a small region on far left side.
One member of this forum advised me to use LVN_ITEMACTIVATE message. Problem is that I cant find it, I'm using VC++ 6.0!?
Thanks for replay's.
|
|
|
|
|
You can use class wizard to add a member function for message LVN_COLUMNCLICK.
Now go to code and replace this message LVN_COLUMNCLICK with LVN_ITEMACTIVATE.
Its' done
|
|
|
|
|
In the creation or initialitation of your control you should tell the control to accept what you want.
void CParamRegTabView::InitializeView()
{
DWORD dwStyle;
dwStyle = LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES;
m_clcList.SetExtendedStyle (dwStyle);
}
and then just use:
void CMyTabView::OnClickMyTabRuleList(NMHDR* pNMHDR, LRESULT* pResult)
{ POSITION pos = m_clcList.GetFirstSelectedItemPosition();
if (!pos)
{ m_nRowNum = -1;
UpdateData (FALSE);
}
while (pos)
{ int nPos = m_clcList.GetNextSelectedItem(pos);
m_nRowNum = nPos;
UpdateData (FALSE);
}
Invalidate (); UpdateWindow ();
*pResult = 0;
return;
}
and
void CMyTabView::OnItemchangedMyTablist(NMHDR* pNMHDR, LRESULT* pResult)
{ NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
POSITION pos = m_clcList.GetFirstSelectedItemPosition();
while (pos)
{ int nPos = m_clcList.GetNextSelectedItem(pos);
m_nRowNum = nPos;
UpdateData (FALSE);
}
*pResult = 0;
return;
}
Actually you dont need the m_nRowNum, but I do... to know the index of the selected element and use it to look for and other things.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
|
|
|
|
|
Once more thanks for your's replay!
I've solved the problem on a way similar to NishantB++ solution.
The important is that this works now.
Bye.
|
|
|
|