8
votes
7answers
8k views

Reading from a text field in another application's window

Is there a way for a Windows application to access another applications data, more specifically a text input field in GUI, and grab the text there for processing in our own application? If it is ...
10
votes
13answers
15k views

C++ win32 GUI programming, the shortest path? [closed]

Do you know of a good means of learning C++ win32 (not .Net/MFC/ATL/Wx/Qt..) GUI programming ? A book, a tutorial, an existing project, preferably a hands-on approach with realistic example.. I'm not ...
4
votes
1answer
2k views

UI Automation “Selected text”

Anyone knows how to get selected text from other application using UI Automation and .Net? http://msdn.microsoft.com/en-us/library/ms745158.aspx
8
votes
4answers
4k views

NetUIHWND and DirectUIHWND

Using Spy++ tool, it seems that some Microsoft apps use NetUIHWND and DirectUIHWND window classes; e.g.: Word 2010's ribbon seems to be a NetUIHWND, instead Windows Live Messenger window seems to be a ...
5
votes
12answers
35k views

How do I create a GUI for a windows application using C++?

I am deciding on how to develop a GUI for a small c++/win32 api project (working Visual Studio C++ 2008). The project will only need a few components to start off the main process so it will be very ...
5
votes
2answers
3k views

How to add an extra button to the window title bar, so it will be work as standard?

Firstly I want mention that I have already read all articles on SO on subject, but still have no answer for my question. Also my question slightly different than others. Today a I have a look on ...
3
votes
4answers
1k views

Win32 custom message box

I want to make a custom message box. What I want to customize is the button's text. MessageBoxW( NULL, L"Target folder already exists. Do you want to overwrite the folder?", L"No title", ...
3
votes
7answers
8k views

Detecting a single mouse click in MFC

In MFC a double-mouse click event triggers the following sequence of messages WM_LBUTTONDOWN WM_LBUTTONUP WM_LBUTTONDBCLK WM_LBUTTONUP So responding to the WM_LBUTTONDBCLK message allows you to ...
1
vote
3answers
2k views

c++ win32: executing a method on ui thread due to an event on background thread

I've got a background thread that is polling a server. When there's data, i want to handle the data on the ui thread. If I store the hwnd of the main window. How can I get a particular method -- ...
1
vote
3answers
302 views

How are controls put in the caption bar?

I noticed Firefox 4, Opera and Chrome, and IE 7/8 put buttons and controls in the title/caption bar, how is this done? Thanks http://img199.imageshack.us/img199/3307/slayerf.png
1
vote
2answers
123 views

What books are available in market for learning the Windows API for GUI development with C++?

Please give me some titles, preferably not free books. I don't need it to be free; it would be better if published by McGraw Hill, Prentice-Hall, Springer, or any other good publisher. Note that I'm ...
1
vote
2answers
2k views

winapi CreateWindowEx -> create button with user system styles?

I want to make a button that looks just like the OK button when you go My Computer -> Help -> About Windows. I am creating a button like this: hButton = CreateWindowEx(WS_EX_CLIENTEDGE, ...
3
votes
4answers
5k views

Win32 GUI flickering on resize

I have a Win32 GUI program with a tab control, each tab having a list view control. There is massive flickering whenever the window is resized. I've tried the following things: Handling ...
3
votes
7answers
4k views

win32 select all on edit ctrl (textbox)

I am creating my textbox with these options. I can copy/cut/paste/undo, but when i hit select A it doesnt select all. I can right click and click select all but ctrl a doesnt do anything, why? wnd ...
0
votes
4answers
2k views

FindWindow by class name not working?

To preface we have a strange requirement that all dialogs must be modeless for an MFC application. There is a particular dialog using region drawing and some custom controls to select dates and times ...

1 2 3
15 30 50 per page