|
i see ipaudit in google but havn't get ans..?Do you give function or method name?
|
|
|
|
|
What do you mean you did not get an answer? Ipaudit is an opensource software which does what you were looking for.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Do you give me exame link?Becouse i didn't get from google Ipaudit .
|
|
|
|
|
mirtu wrote: me exame link
What is an exame link? Anyways, IpAudit[^].
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
This is puzzling indeed...
Considering that nobody can be that stupid (not being able to google for a simple word), maybe googling from India returns similar nonsense as some of the questions on this board?
|
|
|
|
|
Cranky wrote: maybe googling from India returns similar nonsense as some of the questions on this board?
Not really. I am Googling from India too and I get excellent results.
PS: I did not down-vote you. I've balanced it with a 5 vote.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Well, I wasn't serious.
Thinking about it, it seems that he is simply to lazy to read through the documentation and just needs a quick "fix" for his problem.
|
|
|
|
|
If I have Excel open with multiple documents inside (as an MDI) like this[^], is there a way to get the title of the active child window (or document window) inside? For example, in that screenshot, I'd want "Book3". I can get the names of all child windows using EnumChildWindows, but I don't know how to find out which one is currently active.
A few things I've tried...
- childWindow.isWindowEnabled() returns true for all child windows.
- GetForegroundWindow(..) just gives me "Microsoft Excel".
- fgwin.GetTopLevelFrame(..) gives me nothing.
- CFrameWnd::GetActiveDocument() access to the CFrameWnd object.
Your help will be most appreciated. If it's not obvious, I'm fairly new to Win32 programming.
|
|
|
|
|
Use Excel Automation.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Thank you for reply. That is a tempting solution, as it seems that MS Office is the only app that I personally use as an MDI in this way. However, for the sake of other users and unforseen uses of my software, it really should work correctly with any application (MDI or otherwise) that happens to be running. The project I'm building will monitor the time the user (currently me) spends on different projects. It will be similar to TimeTracker, but with a different UI and different set of features. The problem is frustrating because I can get the title of all child windows, but I know of no way to tell which one is the active one. This should be easy, right? Let me rephrase my question.
If I have a handle to all of the child windows in an arbitrary MDI application, how can I tell which one is active?
At the very least, this should work for Excel, Word, Acrobat, and preferably other MDIs like OpenOffice and Opera.
Sorry I didn't make this clear enough. I was trying to keep it brief, but I'm never sure what information to include and what to leave out.
Thanks!
|
|
|
|
|
Have you tried GetTopWindow() or GetForegroundWindow() ?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
For all good reasons, you must go with automation, as David already stated.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi,
I have a CListCtrl set to LVS_EX_FULLROWSELECT style.
Using the mouse to create a multiple selection in a list control only seems to work when you select from the empty space in the first column.
Is there an easy way to allow multiple selection from anywhere inside the list control?
|
|
|
|
|
AORD wrote: Using the mouse to create a multiple selection in a list control only seems to work when you select from the empty space in the first column.
It seems you are using Report view, but normally multiple(or single) selection is possible on any item except the empty space. Please explain?
|
|
|
|
|
|
I just run the demoproject with not even building it, it runs fine in my system, I can multiselect clicking on any item in any column, only the empty space next to time column is not possible.
AORD wrote: There must be an easy way allow a mouse drag selection from anywhere in the other populated columns?
Drag and Drop between and within a CListCtrl[^]
|
|
|
|
|
Running the DragTest.exe (not building) I can only multi select with the mouse on the blank areas, this includes the blank area in the word column, BUT not the blank area in the index column.
If you can and I can't multi select with the mouse on all of the populated columns it must be the windows file that contains the ClistCtrl?
What version of windows are you running? I'm using XP.
___________________________
Here come the machines!
|
|
|
|
|
I tested in vista, now in XP also, i can select at both the columns but not on the blank area right after index column and below the populated items. check on others machines I never faced this issue.
|
|
|
|
|
Running the DragTest.exe on my XP work tablet the same problem occurs.
I'm not sure we are talking about the same thing.
I'm only multiple selecting using the mouse left button.
I don't care about dragging at all, I just want to create a blue highlighted selection of rows.
With the DragTest.exe the Index colum only is dragable I cannot create a multiple selection of rows unless i do the following steps:
a) left click and hold the mouse button on the first columns blank area or anywhere after the last row or column.
b) then I move the mouse to highlight the rows I want. This creates a rectangle (of dashed lines)that covers the first highlighted row from the start position of the mouse to the final position of the mouse.
c) I release the mouse then the dashed rectangle disappears and a whole lot of rows remain highlighted in blue.
The problem is when I have a big list say 20,000 rows and 30 columns the user can't always use the mouse to select a whole lot of rows.
___________________________
Here come the machines!
|
|
|
|
|
hi am trying to write c++ code for impoting an mpegs file as the input , also write a code to switch of a system for few seconds
|
|
|
|
|
kamarlonaire wrote: impoting an mpegs file as the input
...
switch of a system for few seconds
Can you please explain what these mean?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello guys,
how can I use the switch statement with a string, a vector or char[]?
Or is there an alternative to this?
Thanks and best wishes.
|
|
|
|
|
Austrian_Programmer wrote: how can I use the switch statement with a string, a vector or char[]?
string str = "abc123";
switch(str[0])
{
case 'a':
break;
}
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Austrian_Programmer wrote: Or is there an alternative to this?
The gold old if .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|