|
Arun Tayal wrote: BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
is the ProcessAttach call is missing???????
SaRath
|
|
|
|
|
The code mentioned above is the whole code.....
Can u please guide me what is this ProcessAttach call. and how to use it..
Thanks in Advance.
Arun
|
|
|
|
|
Where i can find wrapper class so i give a art sense on my application?
|
|
|
|
|
your question doesn't really make sense.
if you look for wrappers as wrappers, MFC is full of them.
now, if you mean you'd like to wrap your code so that anybody could reuse it, make it a DLL or a COM component...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
sorry for my no sence
I saw a project which when it was compiled the UI was differect (buttons have differect shape and colour , same happened to edit box, Statix texts ...)
I want if there are Class that reform the items of the interface (Static texts , Edit box, , List box etc)
-- modified at 7:00 Monday 29th May, 2006
|
|
|
|
|
Immunity18 wrote:
sorry for my no sence
I saw a project which when it was compiled the UI was differect (buttons have differect shape and colour , same happened to edit box, Statix texts ...)
I want if there are Class that reform the items of the interface (Static texts , Edit box, , List box etc)
Try Dundas Products at http://www.dundas.com or see Codeproject wrapper calss for different Control
"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 and You
|
|
|
|
|
I guess you are talking about Skins?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
yes \o/
|
|
|
|
|
|
well from tha time you said " skin " :P i am searched and found many skins Thank \o/
|
|
|
|
|
welcome \0/
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
|
Can anybody give sample code to play movie clips using VFW?
At aminimum support AVI files
|
|
|
|
|
anilFirst wrote: Can anybody give sample code
here[^]
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
May be, sample code is , in every where...
research in codeproject, or codeguru...
|
|
|
|
|
Hi
I have used splitterwnd in my program and created two panes and split one of the panes into two views.Now I want to change the views in the second pane by changing options in the first pane.How can I do it
Thank you
|
|
|
|
|
Create your class derived from CSplitterWnd.
add a funtion ChangeView to it.
Use this class to split and change your view.
<code>
ChangeView(int row, int col, CRuntimeClass* pViewClass)
{
ASSERT(pViewClass->IsDerivedFrom(RUNTIME_CLASS(CView)));
CView* pView = STATIC_DOWNCAST(CView, GetPane(row, col));
CFrameWnd* pFrame = pView->GetParentFrame();
ASSERT(pFrame);
CCreateContext cc;
memset(&cc, sizeof(cc), 0);
cc.m_pNewViewClass = pViewClass;
cc.m_pCurrentDoc = pView->GetDocument();
cc.m_pNewDocTemplate = cc.m_pCurrentDoc ?
cc.m_pCurrentDoc->GetDocTemplate() : NULL;
cc.m_pCurrentFrame = pFrame;
DeleteView(row, col);
VERIFY(CreateView(row, col,
pViewClass,
CSize(0,0),
&cc));
RecalcLayout();
CWnd* pWnd = GetPane(row, col);
if (pWnd)
pWnd->SendMessage(WM_INITIALUPDATE);
}
</code>
Regards
Anil
|
|
|
|
|
HI,
I have a network application one is client and other is server running on internet ,
How can I come to know the one of them is get disconnect (or due to disconnection of internet one application is not listeinign or replying)
How can I implement this?
Regards.
|
|
|
|
|
If you TCP you'll naturally get an exception right? i.e Stream is disconnected. You dont have to invent mechanism.But with UDP, You have to sense it on your own, may be with something like "Heart beat" sensing.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
Where I will get this exception, How and where can I handle this one
Regards.
|
|
|
|
|
Tell me how do you get data from the server? If possible, post the code. (may be inside the thread, if you've created one)make a try{} catch{} on the code block where you receive data from client. if, the server gets disconnected, it'll enter into the catch block.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: You have to sense it on your own, may be with something like "Heart beat" sensing.
Humm Heart Beat... my heart beat for......
"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 and You
|
|
|
|
|
To sense it, you need a *lady* client!!
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
VuNic wrote: To sense it, you need a *lady* client!!
I don't have ONe
"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 and You
|
|
|
|
|
Hi
Can any one tell me - How to get a windows notification when a new window of
other application (eg Message box, dialog box) is (Created | displayed) on
window.
I know WM_CREATE message is only sent to window which we register, ie we get
notifiation of a window creation of our application.
All I want is to get window notification when a new window (other
application) is created
please reply as soon as possible,
Thanks in advance
|
|
|
|