|
hello,HPSI, tks for ur answer.
i use while loop with "GetWindow(hChild, GW_CHILD)" and ""GetWindow(hChild_1, GW_HWNDNEXT)" to grap the handle but how can i make MS Word's horizontal scrollbar functional ?
should i use PostMessage or SendMessage ? which handle to input ? parent window's handel (form "OpusApp") ? or parent window's child window's handle (_WwB or _WwG or _WwC) ? or the scrollbar's handle ??
tks for ur help !!
have a nice day !!
yoyo
|
|
|
|
|
hey i wanna know which is the best source online to learn vc++.i'm very interested in c++ and now want to extend my skills.can anyone suggest a good free website or link or a good book?
thanx in advance.....
#include"universe.h"
int main()
{
char *galaxy;
while(1)
{
cout<
|
|
|
|
|
|
hey hillmann thanx for your link.but i asked for vc++.you gave a c++ link.so try to give me a good visual c++ one.
and thanx for your complement on that program......
|
|
|
|
|
You need to learn C++ before you can use VC++
|
|
|
|
|
ah, the way you phrased this: "i'm very interested in c++ and now want to extend my skills" made it sound like you wanted to know C++ too.
|
|
|
|
|
How do I delete the history in a ChtmlView? Also, how do I found out what drives are active (i.e. A:, D:, …)? I need to make a program that have an icon representing the drives and the user is able to open the drives.
Thank you
|
|
|
|
|
pdunn wrote:
Also, how do I found out what drives are active (i.e. A:, D:, …)?
_getdrives();
pdunn wrote:
I need to make a program that have an icon representing the drives and the user is able to open the drives.
Maybe you should use the DriveListBox control
Cathy
Life's uncertain, have dessert first!
|
|
|
|
|
Does anyone know how to write a program to burn a DVD, using some API or COM interface?
Also, on a related note, where can I find information on the format of the .VOB and .IFO files that make up a DVD?
Sorry if I am just missing something obvious. I have been known to do that some times.
|
|
|
|
|
Have you looked into the Nero SDK/API[^]? It does both CD's and DVD's.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Thanks! Even better yet, I have nero!
Anyway, that appears to solve my problem with burning the disc. It does not seem to be able to generate the .vob and .ifo files required for the DVD.
What I want to do is write a program that will capture video, synchronize the A/V streams, and convert it to DVD format. Ideally, I could capture video directly into a DVD-compatible format. If anyone can help me there, that would be appreciated.
Thanks,
Mike_V
|
|
|
|
|
i want to add the tooltip for the clistctrl's item,when the item changes, the tooltip changes according to the item
how can i do? thanx!
|
|
|
|
|
|
what are the values for the enter adn delete keys?
and how would i map them for a tree control?
|
|
|
|
|
VK_RETURN and VK_DELETE (as defined in WinUser.h)
I would handle them in the TVN_KEYDOWN notification handler
void CMyDialog::OnKeyDownTree(NMHDR* pNMHDR, LRESULT* pResult)
{
NMTVKEYDOWN* pTVKeyDown = (NMTVKEYDOWN*)pNMHDR;
if (pTVKeyDown->wVKey == VK_RETURN)
{
}
else if (pTVKeyDown->wVKey == VK_DELETE)
{
}
*pResult = 0;
}
Sonork 100.11743 Chicken Little
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
Within you lies the power for good - Use it!
|
|
|
|
|
How would you define a 3-dimensional array of vectors (of any type), and how would you access them?
Thanks.
William
Fortes in fide et opere!
|
|
|
|
|
vector< vector < vector < int > > >
Make sure you put spaces between the >, otherwise two of them look like a shift operator >>
Christian
<b>NO MATTER HOW MUCH BIG IS THE WORD SIZE ,THE DATA MUCT BE TRANSPORTED INTO THE CPU.</b> - <i>Vinod Sharma</i>
<b>Anonymous wrote:
OK. I read a c++ book. Or...a bit of it anyway. I'm sick of that evil looking console window.
I think you are a good candidate for Visual Basic. </b> - <i> Nemanja Trifunovic</i>
|
|
|
|
|
Thanks!!
William
Fortes in fide et opere!
|
|
|
|
|
I managed to enumerate currently running the processes, but I couldn't show their starting (or creation) time. How Can I do this?
|
|
|
|
|
If you have a handle to the process, you can use the Win32 function GetProcessTimes. However, it only works on NT/2K/XP systems.
Chris Richardson Terrain Software
|
|
|
|
|
does anyone know how to make a dll that will work with mirc to show the modem speed for a dialup modem?
|
|
|
|
|
in my MDI app.......I inserted a CRecordView-base Class named CLogin
when I input my ID and my Password .... I want this form disappear but when
app run to this line
GetDocument()->OnCloseDocument();
Login Form is hide and a Error MessageBox show
Unhandled exception in QLBH.exe (MFCD42D.DLL): 0xC0000005: Access Violation.
and cursor point to this line in DBCORE.CPP like following:
BOOL CRecordset::IsOpen() const
{
if (m_hstmt == NULL)
return FALSE;
.....
}
I tried use:
SendMessage(WM_CLOSE) or SC_CLOSE
or GetParentFrame()->SendMessage(WM_CLOSE);
but no result
help me
thank
<code>
void CLogin::OnOk()
{
CString strID,strPass;
m_editID.GetWindowText(strID);
m_editPass.GetWindowText(strPass);
m_pSet->MoveFirst ();
while(!m_pSet->IsEOF())
{
if(!strID.Compare(m_pSet->m_ID))
{
if (!strPass.Compare(m_pSet->m_Pass))
AfxMessageBox("ok");
else
AfxMessageBox("wrong");
GetDocument()->OnCloseDocument();
}
m_pSet->MoveNext();
}
}</code>
|
|
|
|
|
I am wondering what files to distribute with my MFC app to get it to work on various different machines. In my project settings, it says I am using MFC in a shared DLL. When I go to run my app on my XP (versus my 98 where I developed it), it doesn't work.
So, obviously I need to distribute some files, but which ones?
Thanks.
|
|
|
|
|
|
I used dependency walker. I copied the files: mfc42.dll and msvcrt.dll from my visual C++ CD and put those in my target machine's system folder. I also copied the release version of my app onto the target machine and it still doens't work. The target machine is WinXP and when I run my app it comes up with some dialog box that really doesn't explain the error.
**EDIT**
I looked up in MSDN about this and they said I had to register my DLLs on the target machine. How do I do this?
Any more help is appreciated. Thanks.
|
|
|
|