Click here to Skip to main content
15,902,938 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Creating XML file from C++/CLI code Pin
Richard MacCutchan10-Mar-11 3:35
mveRichard MacCutchan10-Mar-11 3:35 
AnswerRe: Creating XML file from C++/CLI code Pin
Ger Hayden10-Mar-11 9:25
Ger Hayden10-Mar-11 9:25 
QuestionRe: Creating XML file from C++/CLI code Pin
pix_programmer10-Mar-11 23:07
pix_programmer10-Mar-11 23:07 
AnswerRe: Creating XML file from C++/CLI code Pin
Ger Hayden11-Mar-11 8:11
Ger Hayden11-Mar-11 8:11 
Questionget client's screen size Pin
fzerd9-Mar-11 20:08
fzerd9-Mar-11 20:08 
AnswerRe: get client's screen size Pin
Richard MacCutchan9-Mar-11 22:21
mveRichard MacCutchan9-Mar-11 22:21 
AnswerRe: get client's screen size Pin
John Schroedl10-Mar-11 3:31
professionalJohn Schroedl10-Mar-11 3:31 
GeneralRe: get client's screen size Pin
fzerd10-Mar-11 4:26
fzerd10-Mar-11 4:26 
Here are the requested details :

I have the code and following error (C++ /CLI)

<br />
Rectangle ^ClientResolution = gcnew Rectangle();<br />
<br />
ClientResolution = Screen::GetBounds();          <br />
<br />
float CurrentWidth = 1366 ;<br />
float CurrentHeight = 768;<br />
<br />
float RatioWidth = ((float)ClientResolution->Width / (float)CurrentWidth );<br />
<br />
float RatioHeight =((float)ClientResolution->Height / (float)CurrentHeight);<br />
<br />
	this->Scale(RatioWidth,RatioHeight); <br />


// error C2661: 'System::Windows::Forms:: Screen::GetBounds' : no overloaded function takes 0 arguments
GeneralRe: get client's screen size Pin
John Schroedl10-Mar-11 5:17
professionalJohn Schroedl10-Mar-11 5:17 
GeneralRe: get client's screen size Pin
fzerd10-Mar-11 5:34
fzerd10-Mar-11 5:34 
GeneralRe: get client's screen size Pin
John Schroedl10-Mar-11 8:15
professionalJohn Schroedl10-Mar-11 8:15 
GeneralRe: get client's screen size Pin
Richard MacCutchan10-Mar-11 5:34
mveRichard MacCutchan10-Mar-11 5:34 
GeneralRe: get client's screen size Pin
fzerd10-Mar-11 6:01
fzerd10-Mar-11 6:01 
GeneralRe: get client's screen size Pin
Richard MacCutchan10-Mar-11 10:02
mveRichard MacCutchan10-Mar-11 10:02 
GeneralRe: get client's screen size Pin
fzerd12-Mar-11 1:51
fzerd12-Mar-11 1:51 
GeneralRe: get client's screen size Pin
Richard MacCutchan12-Mar-11 2:34
mveRichard MacCutchan12-Mar-11 2:34 
QuestionLoad from String Table Pin
pix_programmer8-Mar-11 19:59
pix_programmer8-Mar-11 19:59 
AnswerRe: Load from String Table Pin
Richard MacCutchan8-Mar-11 21:45
mveRichard MacCutchan8-Mar-11 21:45 
Questionstd::string to System::String conversion Pin
piul8-Mar-11 5:30
piul8-Mar-11 5:30 
AnswerRe: std::string to System::String conversion Pin
Richard MacCutchan8-Mar-11 5:45
mveRichard MacCutchan8-Mar-11 5:45 
GeneralRe: std::string to System::String conversion Pin
piul8-Mar-11 5:51
piul8-Mar-11 5:51 
GeneralRe: std::string to System::String conversion Pin
Richard MacCutchan8-Mar-11 7:14
mveRichard MacCutchan8-Mar-11 7:14 
GeneralRe: std::string to System::String conversion Pin
piul9-Mar-11 20:48
piul9-Mar-11 20:48 
GeneralRe: std::string to System::String conversion Pin
Richard MacCutchan9-Mar-11 21:55
mveRichard MacCutchan9-Mar-11 21:55 
AnswerRe: std::string to System::String conversion Pin
anti.AS10-Mar-11 23:02
anti.AS10-Mar-11 23:02 

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.