Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 98 results for
systemparametersinfo
- Page 1
Form not showing correctly....Please read inside.
Programming
Software Development
12 Years Ago
by TheMightySpud
…strCurrentDateTimeStringMonth & ".jpg" Try
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 1, imageLocation, SPIF_UPDATEINIFILE Or SPIF_SENDWININICHANGE… & ".jpg" Try
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 1, imageLocation, SPIF_UPDATEINIFILE Or SPIF_SENDWININICHANGE…
Get and Set Screen Saver Timeout
Programming
Software Development
9 Years Ago
by Rabastan
…As Integer Dim lSeconds As Integer lRet =
SystemParametersInfo
_ (SPI_GETSCREENSAVETIMEOUT, 0, lSeconds, 0) …As Integer lSeconds = NewValueInMinutes * 60 lRet =
SystemParametersInfo
_ (SPI_SETSCREENSAVETIMEOUT, lSeconds, ByVal 0&, _…
Windows 11 Display Resolution after Sleep Mode
Programming
Software Development
2 Years Ago
by SCBWV
Has anyone experienced the function Windows
SystemParametersInfo
reporting a different display resolution after returning from sleep mode? …My display is 3840X2160, which the
SystemParametersInfo
reports accurately. However, upon returning from sleep mode,
SystemParametersInfo
gives a resolution of 2560x1392, which…
Re: Get and Set Screen Saver Timeout
Programming
Software Development
9 Years Ago
by cgeier
…"ByVal". Changing from: lRet =
SystemParametersInfo
_ (SPI_SETSCREENSAVETIMEOUT, lSeconds, ByVal 0&, …_ SPIF_UPDATEINIFILE + SPIF_SENDWININICHANGE) To: lRet =
SystemParametersInfo
_ (SPI_SETSCREENSAVETIMEOUT, lSeconds, 0&, _ SPIF_UPDATEINIFILE …
Hide underlined letters effect problem
Hardware and Software
Microsoft Windows
18 Years Ago
by martincg
…' feature using the WAPI like this (Delphi) [B] ul := true;
systemparametersinfo
(SPI_SETKEYBOARDCUES,0,@ul,SPIF_UPDATEINIFILE + SPIF_SENDCHANGE);[/B] But I can't… reverse the effect by using [B] ul := false;
systemparametersinfo
(SPI_SETKEYBOARDCUES,0,@ul,SPIF_UPDATEINIFILE + SPIF_SENDCHANGE);[/B] Can anyone tell me…
How to make a screensaver run in delphi 2009 on xp/vista
Programming
Software Development
15 Years Ago
by darkyere
… mean) ive tryed using many different versions of
SystemParametersInfo
( SPI_SCREENSAVERRUNNING, integer(true), @i, 0);
SystemParametersInfo
( SPI_SETFASTTASKSWITCH, 1, @i, 0); but its not…
Changing desktop wallpaper
Programming
Software Development
14 Years Ago
by babalonas
…Runtime.InteropServices Public Class Form1 Private Declare Function
SystemParametersInfo
Lib "user32" Alias "…Sub ChangeWallPaper() If File.Exists(_WallPaperPath) = True Then
SystemParametersInfo
(SPI_SETDESKTOPWALLPAPER, 0, _WallPaperPath, SPIF_UPDATEINIFILE Or SPIF_SENDWININICHANGE) Else […
Please help with my C++ OpenGL code!
Programming
Software Development
13 Years Ago
by Chaos3737
…; return random; } void KeySet() { DWORD old = 0;
SystemParametersInfo
(SPI_GETKEYBOARDDELAY, 0, &old, 0);
SystemParametersInfo
(SPI_SETKEYBOARDDELAY,0, &old, 0); } void keyboard(unsigned…
Re: Please help with my C++ OpenGL code!
Programming
Software Development
13 Years Ago
by Chaos3737
…; return random; } void KeySet() { DWORD old = 0;
SystemParametersInfo
(SPI_GETKEYBOARDDELAY, 0, &old, 0);
SystemParametersInfo
(SPI_SETKEYBOARDDELAY,0, &old, 0); } void keyboard(unsigned…
Re: Please help with my C++ OpenGL code!
Programming
Software Development
13 Years Ago
by Chaos3737
…; return random; } void KeySet() { DWORD old = 0;
SystemParametersInfo
(SPI_GETKEYBOARDDELAY, 0, &old, 0);
SystemParametersInfo
(SPI_SETKEYBOARDDELAY,0, &old, 0); } void keyboard(unsigned…
OpenGL Display text
Programming
Software Development
13 Years Ago
by Chaos3737
…); glPopMatrix(); glutSwapBuffers(); } void KeySet() { DWORD old = 0;
SystemParametersInfo
(SPI_GETKEYBOARDDELAY, 0, &old, 0);
SystemParametersInfo
(SPI_SETKEYBOARDDELAY,0, &old, 0); } void keyboard(unsigned…
Set as desktop background
Programming
Software Development
13 Years Ago
by nssltd
… CharSet = CharSet.Auto)] static extern int
SystemParametersInfo
(int uAction, int uParam, string lpvParam, …void SetWallpaper(string WallpaperLocation, int WallpaperStyle, int TileWallpaper) {
SystemParametersInfo
(20, 0, WallpaperLocation, 0x01 | 0x02); RegistryKey rkWallPaper =…
help me
Programming
Software Development
13 Years Ago
by pito_donje
Public Declare Function
SystemParametersInfo
Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal … lpvParam As Any, ByVal fuWinIni As Long) As Long x =
SystemParametersInfo
(97, 1, CStr(1), 0) 'Disable Ctrl+Alt+Del Keys…
Wallpaper changer class
Programming
Software Development
12 Years Ago
by sandeepparekh9
… = CharSet.Auto)] static extern int
SystemParametersInfo
(int uAction, int uParam, string lpvParam…quot;TileWallpaper", 1.ToString()); }
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 0, tempPath, SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE…
C# to VB.NET - Not changing Wallpaer Style
Programming
Software Development
12 Years Ago
by Cronicle8
…;user32.dll", SetLastError:=True)> _ Public Shared Function
SystemParametersInfo
(ByVal uAction As Integer, ByVal uParam As Integer, ByVal lpvParam….Delete(temp) Return End Try System.IO.File.Delete(temp)
SystemParametersInfo
(20, 0, wall, 2) REM Refresh desktop background [/CODE] Did…
Change Desktop Background Style
Programming
Software Development
8 Years Ago
by Programmer592
…Users\David\Desktop\HEADBANNER_2.gif" Private Declare Function
SystemParametersInfo
Lib "user32" Alias "SystemParametersInfoA&…If controls.currentPositionString = "00:28" Then
SystemParametersInfo
(SETDESKWALLPAPER, 0, Background1Location, UPDATEINIFILE) End If End Sub…
[Question] Faster Method to Change Background
Programming
Software Development
15 Years Ago
by toko
… a picbox, then save it as a .bmp then use
SystemParametersInfo
function to set the picture. I do not like this…
make main form large: entire workspace less 10% margins on each side
Programming
Software Development
14 Years Ago
by hery
…) As Long ' (1)=left (2)=top (3)=right (4)=bottom
SystemParametersInfo
&H30, 0, workspace(1), 0 ' &h30 = get workspace…
Changing desktop to online .bmp image using c++ - help!!
Programming
Software Development
14 Years Ago
by MaskedPianist
… drive. [code=c++] #include <windows.h> int main() {
SystemParametersInfo
( SPI_SETDESKWALLPAPER, 0, (PVOID) "http://www.deh.enr.state.nc…
(V)C++ Set Desktop Wallpaper ( WIN 7 x64 )
Programming
Software Development
14 Years Ago
by Ultratermi
… should run when someone click on the button. [CODE=C++]
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);[/CODE] Tried…
Re: (V)C++ Set Desktop Wallpaper ( WIN 7 x64 )
Programming
Software Development
14 Years Ago
by Ultratermi
Hey thx :) btw I got my other code working too :P ... It was a problem with unicode -.-.. [CODE=C++]SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 0,_T("C:\\wallpaper.bmp"), SPIF_SENDCHANGE);[/CODE] Tadaaa both working!
Re: (V)C++ Set Desktop Wallpaper ( WIN 7 x64 )
Programming
Software Development
14 Years Ago
by Ancient Dragon
…=C++]SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 0,_T("C:\\wallpaper.bmp"), SPIF_SENDCHANGE);[/CODE…
Re: How to make a window an active window(focussed window)
Programming
Software Development
18 Years Ago
by Stoned_coder
… So you could try this... [code] DWORD timeout;
SystemParametersInfo
(0x2000,0,&timeout,0);
SystemParametersInfo
(0x2001,0,0,SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE); SetForegroundWindow(hwnd…
Re: Winsock problem
Programming
Software Development
14 Years Ago
by AndreRet
… = &H1A2 Public Const WM_LBUTTONDBLCLICK = &H203 Declare Function
SystemParametersInfo
Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction… in a Command button 'EnableCAD Dim pOld$, ret$ ret =
SystemParametersInfo
(SPI_SCREENSAVERRUNNING, False, pOld, 0) End Sub Public Function ShellRename(ParamArray…
Re: Program to change desktop background
Programming
Software Development
19 Years Ago
by cosi
… can do this programatically fairly easily... Using Windows API's
SystemParametersInfo
with SPI_SETDESKWALLPAPER. [url]http://msdn.microsoft.com/library/default.asp…?url=/library/en-us/sysinfo/base/
systemparametersinfo
.asp[/url] I don't program in Win32 anymore, so…
Re: System Usage Administration - Internet cafe management
Programming
Software Development
15 Years Ago
by binoj_daniel
… like this by using an API call. Private Declare Function
SystemParametersInfo
Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction… Any, ByVal fuWinIni As Long) As Long Private Sub Disablekeys()
SystemParametersInfo
97, true, CStr(1), 0 End Sub Private Sub Disable_Click…
Re: System Usage Administration - Internet cafe management
Programming
Software Development
15 Years Ago
by d_rev
… like this by using an API call. Private Declare Function
SystemParametersInfo
Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction… Any, ByVal fuWinIni As Long) As Long Private Sub Disablekeys()
SystemParametersInfo
97, true, CStr(1), 0 End Sub Private Sub Disable_Click…
Re: VBS Login Script - Set Wallpaper
Programming
Software Development
15 Years Ago
by ScudRunner50
…") objNetwork.AddWindowsPrinterConnection "\\POLARIS\Penny Laserjet" Declare Function
SystemParametersInfo
Lib "user32" Alias "SystemParametersInfoA" (ByVal … As String strBitmapImage = s:\IT\images\AdminWallpaper.bmp lngSuccess =
SystemParametersInfo
(SPI_SETDESKWALLPAPER, 0, strBitmapImage, 0) [/code]
Re: Program to change desktop background
Programming
Software Development
14 Years Ago
by Vais
… can do this programatically fairly easily... Using Windows API's
SystemParametersInfo
with SPI_SETDESKWALLPAPER. [url]http://msdn.microsoft.com/library/default.asp…?url=/library/en-us/sysinfo/base/
systemparametersinfo
.asp[/url] I don't program in Win32 anymore, so…
Re: Program to change desktop background
Programming
Software Development
14 Years Ago
by kangarooblood
… can do this programatically fairly easily... Using Windows API's
SystemParametersInfo
with SPI_SETDESKWALLPAPER. [url]http://msdn.microsoft.com/library/default.asp…?url=/library/en-us/sysinfo/base/
systemparametersinfo
.asp[/url] I don't program in Win32 anymore, so…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC