DAC2_SetEmulatorWindowPos


Sets the position of the DAC-2 emulator window if enabled.

BOOL WINAPI DAC2_SetEmulatorWindowPos (

    int nLeft,

    int nTop
);

Parameters

nLeft

Left position that you want to move the window to

NTop

Top position that you want to move the window to

Return value
If successful, TRUE is returned, else FALSE is returned. Use DAC2_ErrorGetCode to get the error code.

Remarks
If the emulator is not enabled then this function will do nothing.

Example
Initialize the DAC-2 library

//Position DAC-2 Emulator window to the top left of the screen

DAC2_SetEmulatorWindowPos(0,0);