Click here to Skip to main content
15,889,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionfstream object as either unicode or non-unicode Pin
Danzy838-Sep-10 14:02
Danzy838-Sep-10 14:02 
AnswerRe: fstream object as either unicode or non-unicode Pin
Richard Andrew x648-Sep-10 15:36
professionalRichard Andrew x648-Sep-10 15:36 
GeneralRe: fstream object as either unicode or non-unicode Pin
CPallini8-Sep-10 21:03
mveCPallini8-Sep-10 21:03 
AnswerRe: fstream object as either unicode or non-unicode Pin
Aescleal8-Sep-10 21:35
Aescleal8-Sep-10 21:35 
GeneralRe: fstream object as either unicode or non-unicode Pin
Danzy838-Sep-10 22:07
Danzy838-Sep-10 22:07 
GeneralRe: fstream object as either unicode or non-unicode Pin
Aescleal8-Sep-10 23:12
Aescleal8-Sep-10 23:12 
GeneralRe: fstream object as either unicode or non-unicode Pin
Niklas L9-Sep-10 1:24
Niklas L9-Sep-10 1:24 
QuestionMoving a dialog box that you do not create [Solved] Pin
pjdriverdude8-Sep-10 8:35
pjdriverdude8-Sep-10 8:35 
I am using Nuance's SAPI to create a voice recognition training box, which I call with their function:

hRes = m_dgnEngine->DlgShow( dgndlgGeneralTraining, NULL, CComVariant( ), CComVariant( ) )


while I don't think showing that function is important with regards to the question, the problem I am having is the window that pops up is centered on my primary monitor, but I really want it to open on a different monitor.

I cannot simply change the primary monitor in windows and I cannot create their window any other way.

I know I can get the handle of the window, but is there a way in C, C++, or VC++ to move a window that you, technically, have no control of?

modified on Wednesday, September 8, 2010 3:29 PM

AnswerRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 8:56
Code-o-mat8-Sep-10 8:56 
GeneralRe: Moving a dialog box that you do not create Pin
pjdriverdude8-Sep-10 9:04
pjdriverdude8-Sep-10 9:04 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:10
Code-o-mat8-Sep-10 9:10 
GeneralRe: Moving a dialog box that you do not create Pin
pjdriverdude8-Sep-10 9:28
pjdriverdude8-Sep-10 9:28 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:32
Code-o-mat8-Sep-10 9:32 
AnswerRe: Moving a dialog box that you do not create [modified] Pin
Luc Pattyn8-Sep-10 9:05
sitebuilderLuc Pattyn8-Sep-10 9:05 
GeneralRe: Moving a dialog box that you do not create Pin
Code-o-mat8-Sep-10 9:12
Code-o-mat8-Sep-10 9:12 
GeneralRe: Moving a dialog box that you do not create Pin
Luc Pattyn8-Sep-10 9:15
sitebuilderLuc Pattyn8-Sep-10 9:15 
QuestionMessage Removed Pin
8-Sep-10 4:32
professionalN_tro_P8-Sep-10 4:32 
AnswerRe: Simple 8bpp Image modifying Pin
CPallini8-Sep-10 5:18
mveCPallini8-Sep-10 5:18 
AnswerRe: Simple 8bpp Image modifying Pin
normanS11-Sep-10 18:49
normanS11-Sep-10 18:49 
QuestionPrevent Screen Capturing Pin
Nishad S8-Sep-10 0:32
Nishad S8-Sep-10 0:32 
AnswerRe: Prevent Screen Capturing PinPopular
Moak8-Sep-10 0:46
Moak8-Sep-10 0:46 
AnswerRe: Prevent Screen Capturing [modified] PinPopular
Emilio Garavaglia8-Sep-10 1:57
Emilio Garavaglia8-Sep-10 1:57 
AnswerRe: Prevent Screen Capturing Pin
Iain Clarke, Warrior Programmer8-Sep-10 1:58
Iain Clarke, Warrior Programmer8-Sep-10 1:58 
QuestionRe: Prevent Screen Capturing Pin
Code-o-mat8-Sep-10 2:20
Code-o-mat8-Sep-10 2:20 
AnswerRe: Prevent Screen Capturing Pin
Nishad S8-Sep-10 2:37
Nishad S8-Sep-10 2:37 

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.