|
|
Programm3r wrote: Can anyone tell me what the function: BroadcastSystemMessage() is used for??
It's used to send (i.e., broadcast) a message to multiple recipients (e.g., all applications). It could be used to poll recipients for permission to carry out a given action. It can be used to, in conjunction with other code, terminate another proccess.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
how can i use tab control in SDI Application to a form view.
in my application i split the window into 3 horizontal views.
in the 3 rd view i want to add tabbed control for showing two views in the 3rd view....
how can i do it?
|
|
|
|
|
Why not just derive the 3rd view from CFormView , and insert a tab control on it?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi guys,
Can anybody help me out in integrating VC++ DLL with Java. I do have only .h,.dll,.lib files for the DLL program and don't have .cpp file. Can i load that dll in Java. If anybody have idea please mail me back.
P S V Subba Reddy
|
|
|
|
|
See Here.
Refers to call methods in a dll from JAVA
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi,
I am trying to write to a .wav file.I want to get the block size of the header of the wav file and over write at that location of the file.Can anyone tell me how to go about in doing this.It's very urgent.
Thanks,
Riz
|
|
|
|
|
See here[^] maybe it is some helpful to you
-- modified at 4:00 Tuesday 29th August, 2006
|
|
|
|
|
WhiteSky wrote: here[^] and here[^]
same links ?
|
|
|
|
|
oh I'm sorry ,
Thank you toxcct,I modified my post
|
|
|
|
|
Thanks for ur help..... But i am using C programming in the VC++ environment.I want to know how can i use it in C language.So if u have any links regarding this then plz let me know.
|
|
|
|
|
But why using C instead VC++
|
|
|
|
|
What exactly are you trying to do? Open a file? Write to a file? Find a .wav file's header? Be a tad more specific.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hi all,
i have a problem, i have created an EditControl dyanmically, when ever a mouse click there at that point an edit control will be created.
But my problem is that if i choose a menu and tell
LeftAlign, RightAlign, Center Align. then this dyanmically created Edit box must align accordingly,
i know the Api called ::MoveWindow() will solve all this but please give any suggestions to move accrodingly.
Uday kiran
|
|
|
|
|
uday kiran janaswamy wrote: Edit box must align accordingly
When you are creating the edit box you would be getting the HANDLE of the edit box.
You can use MoveWindow using that Handle.
BOOL MoveWindow( HWND hWnd,
int X,
int Y,
int nWidth,
int nHeight,
BOOL bRepaint
);
Specify the new coordinates along with the new height and width you want to let the control acquire. Use true/false if you want to repaint/No repaint the edit window.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
hi anshuman,
but how to get the Handle of the Newly created EditBoxes.
i mean
CEdit *ptredit = new CEdit;
ptredit->Create(...) //dynamically created editboxes.
but my problem is that when i click then a new edit box will be created at that point.
but how to iterate all the created editbox dynamically and move that editbox window handle in to new position.
please provide me your help for this solution.
Uday kiran
|
|
|
|
|
<br />
::MoveWindow(ptredit->m_hWnd,...)<br />
ptredit->MoveWindow(...) or ptredit->SetWindowPos(...)<br />
whats problem?
|
|
|
|
|
hi whitsky,
i have a problem, when i am creating a editbox dynamically when in LButtonClick even i am sucessfully creating a EditBox at that Point.
My Problem after clicking it generates all the editboxes at that placeses where i have created. I used a menu item also where AlignLeft,AlignRight and Align Center are the Options.
when ever i Click Align Left then all the dynamical EditControls must move to Left, same for the Right and Center also.
In order to do so i have to get the Handle of the Newly created EditBoxes. and Call ::MoveWindow(...).
please let me know how to do proceed.
Uday kiran
|
|
|
|
|
you want when you click a button then all editbox move to there instead use of many MoveWindow,right?
|
|
|
|
|
uday kiran janaswamy wrote: how to get the Handle of the Newly created EditBoxes.
To get the handle of the edit box you can use:
ptredit->GetSafeHwnd();
You can also use
ptredit->MoveWindow(//Specify new positions etc//);
uday kiran janaswamy wrote: terate all the created editbox
Create an array dynamically so that you can store objects of type CEdit
Eg: CEdit *ptrEdit[];
ptrEdit[i]=new CEdit; ////where i is a variable you can increment each time the user Creates an edit box
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
hi anshuman,
thank you very much, now i got it.
Uday kiran
|
|
|
|
|
hi
I placed an ActiveX Control on a Dialog Box.I want to get the Background of the ActiveX Control on the Dialog box(The Dialog Box is textured so it has non-uniform background colour).
I am able to get the complete background of Dialog Box but the ActiveX Control obscures it's own background.
I want to make the ActiveX control background same as the dialog background where it overlaps.
how can i get it's background??
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|
|
Generally speaking, you can achieve what you want only if you have the ActiveX control code (provided that the control does not already provide a "transparency" property).
There, you should make it transparent in some of its areas (where you do not display useful information). In other words, you have to set the window region.
SkyWalker
|
|
|
|
|
|
Hi Gurus,
I log an event with event type as 0 ( EVENTLOG_SUCCESS ). In event viewer the event has the Information icon. But when I open the properties window for the event, the Type is displayed as None. Why?
Thanks
C++beginer
|
|
|
|