It is currently Sun Feb 16, 2020 10:26 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Requested API Structure and constants
PostPosted: Thu Mar 22, 2018 10:34 am 
Offline
Addict
Addict
User avatar

Joined: Mon Sep 15, 2003 5:55 am
Posts: 1341
missing padding for 64bit:
Code:
Structure NMTVITEMCHANGE
  hdr.NMHDR
  uChanged.l
  CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
    PB_Alignment.b[4]
  CompilerEndIf
  hItem.i
  uStateNew.l
  uStateOld.l
  lParam.i
EndStructure

c ya,
nco2k

_________________
If OSVersion() = #PB_OS_Windows_ME : End : EndIf


Top
 Profile  
Reply with quote  
 Post subject: Re: Requested API Structure and constants
PostPosted: Sun Jun 02, 2019 3:44 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1110
Location: Gernsbach (Germany)
The constant #TVM_SETLINECOLOR exists in the auto completion list, but PureBasic does not know the value.
Code:
#TVM_SETLINECOLOR = #TV_FIRST + 40


\\Edit:
Code:
#TVM_SETTEXTCOLOR = #TV_FIRST + 30

Code:
#TVM_SETBKCOLOR = #TV_FIRST + 29

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Requested API Structure and constants
PostPosted: Sat Jun 29, 2019 9:58 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1110
Location: Gernsbach (Germany)
For LoadIcon_():
Code:
#IDI_SHIELD = 32518

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Requested API Structure and constants
PostPosted: Tue Jul 30, 2019 3:03 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1110
Location: Gernsbach (Germany)
The WinAPI function SearchTreeForFile_() does not work.
Please change the import of the WinAPI function. SearchTreeForFileA -> SearchTreeForFileW
Example for SearchTreeForFileW: viewtopic.php?p=539852#p539852

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Requested API Structure and constants
PostPosted: Wed Feb 05, 2020 8:29 pm 
Offline
Addict
Addict

Joined: Wed Nov 12, 2008 5:01 pm
Posts: 1073
Location: Russia
https://msdn.microsoft.com/en-us/ie/aa363244(v=vs.80)
Code:
Structure DEV_BROADCAST_DEVICEINTERFACE Align #PB_Structure_AlignC
  dbcc_size.l
  dbcc_devicetype.l
  dbcc_reserved.l
  dbcc_classguid.GUID
  dbcc_name.c[1]
EndStructure

_________________
Library XP_Menu_Lib - office menu; HID_Lib - USB Library
Torrent client - pbTorrent (source code); Create driver in PureBasic.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye