|
dude, if somebody else had asked a question that way, would you have helped him ? even if you wanted to ?
what have you tried so far ?
|
|
|
|
|
|
Can you more explain ? how did you try? did you get any error or message?
|
|
|
|
|
I can create Standard window form my program, but I whont that this window wos different, cane I control color of the window, color of the border and somting like this?
|
|
|
|
|
david bagaturia wrote: whont
david bagaturia wrote: wos
david bagaturia wrote: cane
what the hell does that mean ?!
|
|
|
|
|
I want to develop a new GINA dll to use smart card for winlogon. I have surveyed and studied MSDN and got useful information but I want to know more about that. If there is any article available, please let me know. Thanks.
|
|
|
|
|
|
Hi all,
Can any one please tell me the code for loading a popup menu on right click on a particular item in a list view.
Thanks.
Kishore.
|
|
|
|
|
You can use of NM_RCLICK event and then load your menu.
|
|
|
|
|
I have already tried using the NM_RCLICK event. But the menu is not being loaded for some reason.
Please give me a sample code for loadmenu in List view.
Kishore
|
|
|
|
|
Can you show your code how did you declare it,please?
|
|
|
|
|
Y K Kishore Kumar wrote: I have already tried using the NM_RCLICK event.
Does this imply that you are handling the NM_RCLICK notification? If so, then you should have something like:
BEGIN_MESSAGE_MAP(CMyView, CListView)
ON_NOTIFY_REFLECT(NM_RCLICK, OnRclick)
END_MESSAGE_MAP()
...
void CMyView::OnRclick(LPNMHDR, LRESULT* pResult)
{
CListCtrl &ctrlList = GetListCtrl();
CPoint pt;
CMenu menu,
*pSubMenu;
if (ctrlList.GetNextItem(-1, LVIS_SELECTED) != -1)
{
menu.LoadMenu(IDR_ITEM_MENU);
pSubMenu = menu.GetSubMenu(0);
pt = GetMessagePos();
pSubMenu->TrackPopupMenu(TPM_LEFTALIGN, pt.x, pt.y, this);
}
*pResult = 0;
}
"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 have used following code in my project
//////
Pen pen((ARGB) Color::Black, 10.0f); <br />
CString sFont(_T("Arial"));
FontFamily ff(sFont.AllocSysString());<br />
StringFormat sf;<br />
<br />
Point p(rect.left,rect.bottom);
GraphicsPath lgp;<br />
lgp.Reset();<br />
lgp.AddString(m_strText.AllocSysString(), m_strText.GetLength(), &ff, FontStyleBold, 300.0F, p, &sf);<br />
g->DrawPath(&pen,&lgp);
/////
The text is dispalyed like bottom to up that means all the characters are at 180 degree angle from left to right.
What I have to do to solve the problem? Please help........
|
|
|
|
|
This is C++/VC++ forum. Please refrain from posting Java related threads
|
|
|
|
|
mandanani wrote: This is C++/VC++ forum. Please refrain from posting Java related threads
But where is Java Question
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
can anybody tell me if it is possible to use a java compatible dll in an java applet, if yes please tell me how to use it...
swaroop
|
|
|
|
|
|
work i have done in the project
1. made the header file using javah as per the document given to me
2. and included the header dile in the dll vc++ project for making the dll
3. after dll creation i copied the dll in to the java workspace and also in the class directory.
4. the java code is showing runitime while i try to call the dll.
swaroop
|
|
|
|
|
I am lost
How come a VC++ dll (hope not COM dll) use in Java application. I am learning things which I have never dreamt of
|
|
|
|
|
i mentioned vc++ bcoz i'm using the visual studio as my editor..the dll is a plain win32 dll completly in c++
swaroop
|
|
|
|
|
swaroopkb wrote: the dll is a plain win32 dll completly in c++
that's contradictory... Win32 is plain C, not C++ at all
|
|
|
|
|
ok, its a win32 dll...tell me how to solve it please...also will this dll work with Applets, if i'm using a bridge using the java native interface..
swaroop
|
|
|
|
|
for that, i can't help, because i never had to use dlls in java code... are you sure you cant obtain some jars that already do what you're looking for by this DLL ?
|
|
|
|
|
No i cant use a jar...bcoz my work is to convert the existing code to an applet. the code is too big to convert it to java...so the only way is to make a dll that is java compatible...
when u tried with a small java program to access the dll it worked , but when i tried with applet it was not working...do u know whether there is any limitation for applets like ths one???
swaroop
|
|
|
|
|
while trying to make a java compatible dll for my application i'm getting a linking error msg in VC++ (VS6.0) as
error LNK2001 : unresolved external symbol _imp_mciSendCommandA@16
i'm using this dll for accessing the mic.
can anybody help me in solving this problem
swaroop
|
|
|
|