Click here to Skip to main content
15,905,144 members
Home / Discussions / C#
   

C#

 
QuestionGet Desktop Layout Pin
deanpugh22-Jan-07 2:12
deanpugh22-Jan-07 2:12 
AnswerRe: Get Desktop Layout Pin
Dave Kreskowiak22-Jan-07 5:12
mveDave Kreskowiak22-Jan-07 5:12 
GeneralRe: Get Desktop Layout Pin
deanpugh22-Jan-07 5:17
deanpugh22-Jan-07 5:17 
GeneralRe: Get Desktop Layout Pin
Dave Kreskowiak22-Jan-07 6:03
mveDave Kreskowiak22-Jan-07 6:03 
GeneralRe: Get Desktop Layout Pin
deanpugh22-Jan-07 6:11
deanpugh22-Jan-07 6:11 
AnswerRe: Get Desktop Layout Pin
Marc Clifton22-Jan-07 5:22
mvaMarc Clifton22-Jan-07 5:22 
GeneralRe: Get Desktop Layout Pin
deanpugh22-Jan-07 5:28
deanpugh22-Jan-07 5:28 
GeneralRe: Get Desktop Layout Pin
Marc Clifton22-Jan-07 5:39
mvaMarc Clifton22-Jan-07 5:39 
deanpugh wrote:
I saw that program earlier but after downloading it I was a little confused. Couldnt really work out how I can do this in c#.


Basically, he's getting a handle to the desktop's listview control then using low level API messages to query the listview into a memory mapped area. Similarly, he's using messaging to the listview control to set the positions. Pretty tricky. Pretty scary.

There's several third party apps out there that save/restore icon positions. I'd see if one of those can be executed directly from your app, or contact the author of one of them for help.

Marc


Thyme In The Country

People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith


QuestionDuplicate child forms Pin
baluts22-Jan-07 1:55
baluts22-Jan-07 1:55 
AnswerRe: Duplicate child forms Pin
Marc Clifton22-Jan-07 5:40
mvaMarc Clifton22-Jan-07 5:40 
QuestionHow to change a homebrew screen saver's title? Pin
Lumpie22-Jan-07 1:18
Lumpie22-Jan-07 1:18 
QuestionHide Taskbar Pin
TRK@UK22-Jan-07 1:13
TRK@UK22-Jan-07 1:13 
JokeRe: Hide Taskbar Pin
blackjack215022-Jan-07 1:17
blackjack215022-Jan-07 1:17 
GeneralRe: Hide Taskbar Pin
TRK@UK22-Jan-07 1:20
TRK@UK22-Jan-07 1:20 
GeneralRe: Hide Taskbar Pin
aSarafian22-Jan-07 2:43
aSarafian22-Jan-07 2:43 
GeneralRe: Hide Taskbar Pin
TRK@UK22-Jan-07 7:18
TRK@UK22-Jan-07 7:18 
AnswerRe: Hide Taskbar Pin
Tim Paaschen22-Jan-07 2:43
Tim Paaschen22-Jan-07 2:43 
QuestionHow to Zip files within a folder Pin
Uday_k_jadhav22-Jan-07 1:09
Uday_k_jadhav22-Jan-07 1:09 
AnswerRe: How to Zip files within a folder Pin
Marc Clifton22-Jan-07 1:53
mvaMarc Clifton22-Jan-07 1:53 
QuestionCreate database with username and password Pin
blackjack215022-Jan-07 1:06
blackjack215022-Jan-07 1:06 
AnswerRe: Create database with username and password Pin
David Domingues22-Jan-07 4:21
David Domingues22-Jan-07 4:21 
Questionmessenger Service in C# Pin
vinay28may22-Jan-07 0:56
vinay28may22-Jan-07 0:56 
QuestionC# and Com Pin
Ron.S22-Jan-07 0:56
Ron.S22-Jan-07 0:56 
Questionprinting from a control Pin
rzvme22-Jan-07 0:29
rzvme22-Jan-07 0:29 
QuestionColoring a Datagrid row Pin
jamesjk22-Jan-07 0:11
jamesjk22-Jan-07 0:11 

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.