我知道这听起来很疯狂,但我只是想问一下编译器是否支持多种编程语言?像Delphi也可以支持C/C++/C#等?如果有,请告诉我.或者怎么样?
如何创建一个像Tpanel一样的TCustomControl?例如MyCustomComponent,我可以删除类似标签,图像等组件.
我想像任何其他Web浏览器或Internet Explorer一样构建Internet浏览器,除了每个窗口应该使用唯一的缓存名称.有任何想法吗?或任何第三方组件?
我有函数返回一个字符的索引GetCharFromPos(Pt:TPoint):整数;
现在我想得到那个位置的特征.比如GetCharByIndex(Index:Integer):Char;
我观察到当你隐藏水平滚动条时,它在使用时不会滚动
sbxStudyBtnHolder.Perform(WM_HSCROLL, SB_LINEDOWN, 0);
我们怎样才能使它成为可能?
我用来创建一个自定义函数,如winexec(...):Hwnd将重新执行已执行应用程序的句柄.
我确实使用了findwindow()但是如果它改变了窗口标题就有问题.
我的应用程序使用Bass.dll并将其添加到资源中.我想在应用程序启动之前将其解压缩.如何取消它?
我有
...
TDispPitch = class
private
iLineSize: Integer;
iLineColor: TColor;
bDisplayAccent: Boolean;
bVisible: Boolean;
published
property LineSize : Integer read iLineSize write iLineSize;
...etc
end;
...
Run Code Online (Sandbox Code Playgroud)
我想要在Object Insepector中显示此功能来编辑设置.
我尝试添加
property DispPitch: TDispPitch read FDispPitch write FDispPitch. like
Run Code Online (Sandbox Code Playgroud)
可以显示DispPitch,但我看不到它的属性.比如LineSize,LineColor等
我怎么能用Delphi代码写这个呢?
[DllImport("FT_ND_API.dll")]
public static extern uint epas_CreateContext(out IntPtr hContextHandle,
uint ulFlags, uint ulApiVersion);
[DllImport("FT_ND_API.dll")]
public static extern uint epas_OpenDevice(IntPtr hContextHandle,
uint ulQueryType, IntPtr pQueryData);
[DllImport("FT_ND_API.dll")]
public static extern uint epas_GetProperty(IntPtr hContextHandle, uint ulFlags,
IntPtr pRefData, byte[] pPropData, uint ulPropSize);
[DllImport("FT_ND_API.dll")]
public static extern uint epas_CreateDir(IntPtr hContextHandle, uint ulFlags,
String pucName, String pucGuid, ref WDirInfo pDirInfo, uint ulSizeOfDirInfo);
Run Code Online (Sandbox Code Playgroud) delphi ×9
browser ×1
c ×1
c# ×1
char ×1
class ×1
dll ×1
extraction ×1
handle ×1
hwnd ×1
message ×1
object ×1
ole ×1
pinvoke ×1
position ×1
properties ×1
richedit ×1
sendmessage ×1
shell ×1
shellexecute ×1
tpanel ×1
tscrollbox ×1
twebbrowser ×1
visual-c++ ×1