Click here to Skip to main content
15,914,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
Dave Kreskowiak4-May-10 3:54
mveDave Kreskowiak4-May-10 3:54 
AnswerRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
Steven J Jowett4-May-10 4:38
Steven J Jowett4-May-10 4:38 
GeneralRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
norrisMiou4-May-10 5:40
norrisMiou4-May-10 5:40 
AnswerRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
norrisMiou6-May-10 2:54
norrisMiou6-May-10 2:54 
GeneralRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
Dave Kreskowiak6-May-10 3:49
mveDave Kreskowiak6-May-10 3:49 
GeneralRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
norrisMiou6-May-10 4:52
norrisMiou6-May-10 4:52 
GeneralRe: 3D app what choosing ? DirectX ? XNA ? SlimDX ? Pin
Dave Kreskowiak6-May-10 12:12
mveDave Kreskowiak6-May-10 12:12 
QuestionNeed to detect toolbar button click in 3rd party app Pin
drh65581-May-10 16:09
drh65581-May-10 16:09 
I need to detect when the print button is clicked in a 3rd party app. I've used Spy++ and can return the hWnd of the toolbar but I'm not able to get the hWnd of the individual buttons. In fact, Spy++ does not return any messages when the/any button is clicked.

What I want to do is intercept the Print button click and destroy the messages and launch my own Print/Report App.

I've considered and tried allowing the Apps Print Preview to launch and used WM_SYSCOMMAND with SC_CLOSE to close the window before it has a chance to open. Unfortunately it causes the App to crash.(that is the the app with the button used to launch the Print Preview)

I've considered programatically (using api's) setting the focus to the Print Preview and using SendKeys to send an "Alt F4" but I have the problem of timing as the Print Preview window varies it's opening time depending on how much data it is processing.

I would/could check for a mouse click if I new the hWnd of the individual buttons. This brings me full circle to my original problem and that is finding the hWnd of the toolbar buttons.

I'm using VB9 (vb 2008). I don't have any problems using API's and could write (with help) a c++ dll for subclassing if I had to. (I don't mind learning new things). I just need to have someone discuss this with me and help by pointing me in the correct direction.
AnswerRe: Need to detect toolbar button click in 3rd party app Pin
Luc Pattyn1-May-10 16:36
sitebuilderLuc Pattyn1-May-10 16:36 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65581-May-10 17:47
drh65581-May-10 17:47 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
Luc Pattyn2-May-10 1:49
sitebuilderLuc Pattyn2-May-10 1:49 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65582-May-10 8:21
drh65582-May-10 8:21 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
Luc Pattyn2-May-10 8:47
sitebuilderLuc Pattyn2-May-10 8:47 
RantRe: Need to detect toolbar button click in 3rd party app Pin
εїзεїзεїз3-May-10 10:00
εїзεїзεїз3-May-10 10:00 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65584-May-10 5:38
drh65584-May-10 5:38 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
εїзεїзεїз4-May-10 19:37
εїзεїзεїз4-May-10 19:37 
GeneralRe: Need to detect toolbar button click in 3rd party app Pin
drh65585-May-10 6:14
drh65585-May-10 6:14 
QuestionProblem in setting DateTime value explicitly. Pin
priyamtheone1-May-10 6:31
priyamtheone1-May-10 6:31 
AnswerRe: Problem in setting DateTime value explicitly. Pin
Luc Pattyn1-May-10 6:54
sitebuilderLuc Pattyn1-May-10 6:54 
AnswerRe: Problem in setting DateTime value explicitly. Pin
Andy_L_J1-May-10 13:01
Andy_L_J1-May-10 13:01 
QuestionProblem with DateTime matching. Pin
priyamtheone1-May-10 6:31
priyamtheone1-May-10 6:31 
AnswerRe: Problem with DateTime matching. Pin
Luc Pattyn1-May-10 6:48
sitebuilderLuc Pattyn1-May-10 6:48 
QuestionCheck the entrances to the keyboard and clean the buffer Pin
yera200230-Apr-10 11:38
yera200230-Apr-10 11:38 
AnswerRe: Check the entrances to the keyboard and clean the buffer Pin
Dave Kreskowiak30-Apr-10 17:48
mveDave Kreskowiak30-Apr-10 17:48 
QuestionConvert from decimal to hexidecimal? Pin
Adam Wike30-Apr-10 3:48
Adam Wike30-Apr-10 3:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.