Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MciSendString question

Status
Not open for further replies.

Jekteir

Technical User
Jul 25, 2001
27
GB
Hi there, I've been coding an API-only media player for windows, using the mciSendString function. It's been going fine, but I can't figure out how to use the "setvideo" command to actually change the brightness. I've trawled through the MSDN docs online, and tried various methods like those below, to get any change in brightness:

ret = mciSendString("setvideo playfile brightness to 2", 0&, 0&, 0&)

ret = mciSendString("setvideo playfile brightness to 1500", 0&, 0&, 0&)

ret = mciSendString("setvideo playfile brightness to 333", 0&, 0&, 0&)

ret = mciSendString("setvideo playfile brightness to " & RGB(200,200,200), 0&, 0&, 0&)

MSDN describes the brightness setting as a "factor". So I would have thought "2" would make it twice as bright. But...No change, and the error-getting function doesn't turn up any info either. If anyone knows how to do this, I'd really appreciate the help.

Jek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top