Masm32 SDK description, downloads and other helpful links
Started by buskysnow, June 04, 2016, 05:20:20 PM
wcx WNDCLASSEX <WNDCLASSEX, MyWinStyle, WndProc, 0, 0, 1, 2, 3, COLOR_BTNFACE+1, 0, txClass, 4>wc equ [ebx.WNDCLASSEX] ; we use an equate for better readability
Quote from: jj2007 on June 04, 2016, 06:27:24 PMHi Busky,Welcome to the forum :icon14:Your English is perfect, and it's clear what you want. This feature will require some parsing of the source, example:Code Select Expandwcx WNDCLASSEX <WNDCLASSEX, MyWinStyle, WndProc, 0, 0, 1, 2, 3, COLOR_BTNFACE+1, 0, txClass, 4>wc equ [ebx.WNDCLASSEX] ; we use an equate for better readabilityBoth versions would have to be recognised. Feasible but it would be some work, also to ensure that it does not slow down the whole IDE. Maybe an idea for a plugin, also for qEditor?
Quote from: buskysnow on June 04, 2016, 07:47:48 PMCould you write a simple but complete code for me? Thanks a lot !
@=POINT STRUCT x DWORD ? y DWORD ? POINT ENDS@=POINTL STRUCT x DWORD ? y DWORD ? POINTL ENDS@=POINTS STRUCT x WORD ? y WORD ? POINTS ENDS@=RECT STRUCT left dd ? top dd ? right dd ? bottom dd ? RECT ENDS
Quote from: jj2007 on June 05, 2016, 10:56:44 PMTo launch an idea how to implement it: Attached AllStructs.jjn, the source that creates it, and a reader for the jjn file (with comfortable search).Basically, it collects all structures in \masm32\include, and formats them so that the members are clearly identified.Example: the "x" in POINT reads CrLf, 32, x, 9, DWORD
Quote from: rsala on June 05, 2016, 07:09:49 PMHi buskysnow,Welcome to the forum and thanks for using Easy Code.The context help for struct members is not yet implemented. It is not an easy task and I do not know when I will be able to implement it.Regards!